Category Menu manager menus, Object ProMenu

Function ProMenuDelete


Description
Closes the currently active menu. The current menu is the menu referenced from the last call to ProMenuProcess(). Control returns from that call as a result of the call to ProMenuDelete() or ProMenuDeleteWithStatus().

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

The menu that becomes active after this one is closed is the menu immediately above it in the menu hierarchy. This is also the menu made active by the previous call to ProMenuProcess().

Synopsis
#include <ProMenu.h>
ProErrorProMenuDelete(void)
Returns
PRO_TK_NO_ERRORThe function successfully closed the current menu.
See Also
ProMenuDeleteWithStatus
ProMenuProcess
NOTE: Do not use this function for exit buttons on compound menus;
use ProMenuDeleteWithStatus instead.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Menus, Commands, and Popupmenus: New Menus
  3. User Interface: Menus, Commands, and Popupmenus: New Menus
  4. User Interface: Menus, Commands, and Popupmenus: New Menus
  5. User Interface: Menus, Commands, and Popupmenus: New Menus
  6. User Interface: Menus, Commands, and Popupmenus: New Menus
  7. User Interface: Menus, Commands, and Popupmenus: Submenus

Sample Code References:

  1. pt_examples ( TestExtref.c )
  2. pt_examples ( TestExtref.c )
  3. pt_examples ( TestExtref.c )
  4. pt_examples ( TestExtrefInfo.c )
  5. pt_examples ( TestExtrefInfo.c )
  6. pt_examples ( TestExtrefInfo.c )
  7. pt_examples ( TestExtrefInfo.c )
  8. pt_examples ( TestConfig.c )
  9. pt_examples ( TestDimension.c )
  10. pt_examples ( TestFemmesh.c )
  11. pt_examples ( TestFemmesh.c )
  12. pt_examples ( TestFemmesh.c )
  13. pt_examples ( TestFemmesh.c )
  14. pt_examples ( TestFemmesh.c )
  15. pt_examples ( TestFemmesh.c )
  16. pt_examples ( TestInterface.c )
  17. pt_examples ( TestDispObject.c )
  18. pt_examples ( TestFeats.c )
  19. pt_examples ( TestFeats.c )
  20. pt_examples ( TestFeats.c )
  21. pt_examples ( TestDtmPln.c )
  22. pt_examples ( TestDtmPln.c )
  23. pt_examples ( TestDtmPln.c )
  24. pt_examples ( TestExtrude.c )
  25. pt_examples ( TestExtrude.c )
  26. pt_examples ( TestDrwView.c )
  27. pt_examples ( TestDtlnote.c )
  28. pt_examples ( TestDtlnote.c )
  29. pt_examples ( TestDtlnote.c )
  30. pt_examples ( TestDtlnote.c )
  31. pt_examples ( TestGraphics.c )
  32. pt_examples ( TestGraphics.c )
  33. pt_examples ( TestGraphics.c )
  34. pt_examples ( TestLinestyle.c )
  35. pt_examples ( TestMenu.c )
  36. pt_examples ( TestMfgFixt.c )
  37. pt_examples ( TestMfgMenu.c )
  38. pt_examples ( TestMfgMenu.c )
  39. pt_examples ( TestMfgMenu.c )
  40. pt_examples ( TestMfgNCSeq.c )
  41. pt_examples ( TestMfgNCSeq.c )
  42. pt_examples ( TestMfgNCSeq.c )
  43. pt_examples ( TestMfgNCSeq.c )
  44. pt_examples ( TestMfgWcell.c )
  45. pt_examples ( TestMfgWcell.c )
  46. pt_examples ( TestMfgWcell.c )
  47. pt_examples ( TestMfgWcell.c )
  48. pt_examples ( TestMfgWcell.c )
  49. pt_examples ( TestMfgWcell.c )
  50. pt_examples ( TestMisc.c )
  51. pt_examples ( TestNotify.c )
  52. pt_examples ( TestRule.c )
  53. pt_examples ( TestRule.c )
  54. pt_examples ( TestRule.c )
  55. pt_examples ( TestRule.c )
  56. pt_examples ( TestSimpRep.c )
  57. pt_examples ( TestSimpRep.c )
  58. pt_examples ( TestSimpRep.c )
  59. pt_examples ( TestSimpRep.c )
  60. pt_examples ( TestSimpRep.c )
  61. pt_examples ( TestSimpRep.c )
  62. pt_examples ( TestSimpRep.c )
  63. pt_examples ( UtilMenu.c )
  64. pt_examples ( UtilMenu.c )
  65. pt_mech_examples ( PTMechExItemInfo.c )
  66. pt_userguide ( UgCommonMenus.c )
  67. pt_userguide ( UgMenuJustificationGet.c )
  68. pt_userguide ( UgMenuJustificationGet.c )