Category Menu manager menus, Object ProMenu

Function ProMenuPop


Description
Puts the menu last pushed onto the stack back onto the screen. You can only pop the menu back to the same position from which it was pushed.

This function affects Menu-Manager (mode-specific) menus only.

It is the responsibility of the application developer to use the correct sequence of calls to ProMenuCreate(), ProMenuDeleteWithStatus(), ProMenuPush(), and ProMenuPop().

If a main menu has submenus, they are treated as one and are popped together with one call to ProMenuPop().

If there is more than one menu in a frame (a compound menu), all the menus in the frame are popped by one call to ProMenuPop().

Synopsis
#include <ProMenu.h>
ProErrorProMenuPop(void)
Returns
PRO_TK_NO_ERRORThe function successfully popped the menu.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
See Also
ProMenuCreate
ProMenuDeleteWithStatus
ProMenuPush

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Menus, Commands, and Popupmenus: Pushing and Popping Menus

Sample Code References:

  1. pt_examples ( TestProcstep.c )
  2. pt_examples ( TestInterface.c )
  3. pt_examples ( TestFamTab.c )
  4. pt_examples ( TestFeats.c )
  5. pt_examples ( TestFeats.c )
  6. pt_examples ( TestDtmPln.c )
  7. pt_examples ( TestDrwView.c )
  8. pt_examples ( TestDrawing.c )
  9. pt_examples ( TestMain.c )
  10. pt_examples ( TestMain.c )
  11. pt_examples ( TestMenu.c )
  12. pt_examples ( TestMfgMenu.c )
  13. pt_examples ( TestMfgNCSeq.c )
  14. pt_examples ( TestMfgNCSeq.c )
  15. pt_examples ( TestMfgWcell.c )
  16. pt_examples ( TestMfgWcell.c )
  17. pt_examples ( TestMfgWcell.c )
  18. pt_examples ( TestRelation.c )
  19. pt_examples ( TestSimpRep.c )
  20. pt_examples ( TestSimpRep.c )
  21. pt_mech_examples ( PTMechExItemInfo.c )
  22. pt_mech_examples ( PTMechExUtils.c )
  23. pt_userguide ( UgCommonMenus.c )