Methods Introduced:
The methods pfcWindow::GetHeight, pfcWindow::GetWidth, pfcWindow::GetXPos, and pfcWindow::GetYPos retrieve the height, width, x-position, and y-position of the window respectively. The values of these parameters are normalized
from 0 to 1.
The methods pfcWindow::GetGraphicsAreaHeight and pfcWindow::GetGraphicsAreaWidth retrieve the height and width of the Creo graphics area window without the border respectively. The values of these parameters are normalized from 0 to 1. For both
the window and graphics area sizes, if the object occupies the whole screen, the window size returned is 1. For example, if
the screen is 1024 pixels wide and the graphics area is 512 pixels, then the width of the graphics area window is returned as 0.5.
The method pfcWindow::Clear removes geometry from the window.
Both pfcWindow::Repaint and pfcWindow::Refresh repaint solid geometry. However, the Refresh method does not remove highlights from the screen and is used primarily to remove temporary geometry entities from the screen.
Use the method pfcWindow::Close to close the window. If the current window is the original window created when Creo application started, this method clears the window. Otherwise, it removes the window from the screen.
Use the method wfcWWindow::Refit to refit the model in the specified window so that the entire model can be viewed.
The method pfcWindow::Activate activates a window. This method is available only in the asynchronous mode.
The method pfcWindow::GetId retrieves the ID of the Creo window.
The method
pfcBaseSession::FlushCurrentWindow flushes the pending display commands on the current window.
Note
It is recommended to call this method only after completing all the display operations. Excessive use of this method will
cause major slow down of systems running on Windows Vista and Windows 7.