Category Windows and views, Object ProWindow

Function ProWindowRefit


Description
Refits the display of an object in the window specified by the window_id. The type of the object should be either drawing, part or assembly.
Replacement in Object TOOLKIT: wfcWWindow::Refit
Synopsis
#include <ProWindows.h>
ProErrorProWindowRefit(
int window_id
/* (In)
The handle to the Creo Parametric window.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully refits the model to the window.
PRO_TK_BAD_INPUTSThe window does not contain valid object or view.
PRO_TK_E_NOT_FOUNDEither view or model was not found.

Manual References:

  1. User Interface: Basic Graphics: Repainting Windows
  2. User Interface: Basic Graphics: Repainting Windows

Sample Code References:

  1. pt_examples ( TestExtrude.c )
  2. pt_examples ( TestView.c )