Category Windows and views, Object ProWindow

Function ProWindowCurrentGet


Description
Retrieves the current window identifier.
Replacement in Object TOOLKIT: pfcWindow::GetId
pfcBaseSession::CurrentWindow
Synopsis
#include <ProWindows.h>
ProErrorProWindowCurrentGet(
int* p_window_id
/* (Out)
The current window identifier. If the current window is the message area, the function returns PRO_VALUE_UNUSED.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe window identifier is NULL.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

Manual References:

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

Sample Code References:

  1. pt_af_examples ( PTMfgTemplateBOM.c )
  2. pt_examples ( TestAsm.c )
  3. pt_examples ( TestInterface.c )
  4. pt_examples ( TestExtrude.c )
  5. pt_examples ( TestDrwView.c )
  6. pt_examples ( TestView.c )
  7. pt_examples ( TestView.c )
  8. pt_examples ( TestView.c )
  9. pt_examples ( TestWindow.c )
  10. pt_examples ( UtilTree.c )
  11. pt_install_cxx ( TestInstall.cxx )
  12. pt_install_cxx ( TestInstall.cxx )
  13. pt_install_test ( TestInstall.c )
  14. pt_install_test ( TestInstall.c )
  15. pt_udf_examples ( PTUDFExUDFLibraryEdit.c )
  16. pt_userguide ( UgSheetAdd.c )
  17. pt_userguide ( UgSheetCopy.c )
  18. pt_userguide ( UgSheetDelete.c )
  19. pt_userguide ( UgTableColorChange.c )
  20. pt_userguide ( UgXMLFeat.c )
  21. pt_userguide ( UgModelCheck.c )
  22. pt_userguide ( UgNavigatorPane.c )