Category Windows and views, Object ProWindow

Function ProWindowActivate


Description
Activates the specified window.

NOTES:

This does not take effect until control returns to Creo Parametric.

This function works in asynchronous graphic mode only.

When a call is made to this function, the control should be returned to Creo Parametric to activate the current window.

Replacement in Object TOOLKIT: pfcWindow::Activate
Synopsis
#include <ProWindows.h>
ProErrorProWindowActivate(
int window
/* (In)
The handle to the Creo Parametric window
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully activated the window.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_BAD_CONTEXTThe function was called in RPC input (non-graphic) mode
PRO_TK_GENERAL_ERRORThe function failed.

Manual References:

  1. User Interface: Basic Graphics: Activating Windows

Sample Code References:

  1. pt_async ( TestAsync.c )
  2. pt_examples ( TestMultiCADFile.c )
  3. pt_examples ( TestDbms.c )
  4. pt_examples ( TestImportfeat.c )