Category Windows and views, Object ProWindow

Function ProWindowCurrentSet


Description
Sets the current window to the one specified by the window_id argument.

NOTE:

This function is not equivalent to the Creo Parametric option to activate the window, and has no effect on the object returned by ProMdlCurrentGet().

Replacement in Object TOOLKIT: pfcBaseSession::CurrentWindow
Synopsis
#include <ProWindows.h>
ProErrorProWindowCurrentSet(
int window_id
/* (In)
The identifier of the window that becomes current
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the window to be current.
PRO_TK_BAD_INPUTSThe argument is invalid.
See Also
ProMdlCurrentGet

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Controlling Which Window is Current
  3. User Interface: Basic Graphics: Controlling Which Window is Current
  4. User Interface: Basic Graphics: Creating and Removing Windows
  5. User Interface: Basic Graphics: Displaying Graphics

Sample Code References:

  1. pt_examples ( TestAsm.c )
  2. pt_examples ( TestAsm.c )
  3. pt_examples ( TestDrwView.c )
  4. pt_examples ( TestDrwView.c )
  5. pt_examples ( TestWindow.c )
  6. pt_examples ( TestWindow.c )
  7. pt_examples ( UtilTree.c )
  8. pt_examples ( UtilTree.c )