Category Menu manager menus, Object ProMenu

Function ProMenuProcess


Description
Makes the specified menu active. Creo Parametric allows the user to pick the buttons on it until the menu closes.

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

The function returns only when the menu is closed as a result of a call to ProMenuDelete() or ProMenuDeleteWithStatus(), in one of the actions defined for that menu.

Synopsis
#include <ProMenu.h>
ProErrorProMenuProcess(
ProMenuName menuname
/* (In)
The name of the menu.
*/
int* action
/* (Out)
If you used ProMenuDeleteWithStatus() to delete the menu, this is the status value passed to that function. If you used ProMenuDelete() to delete the menu, this value is undefined.
*/
)
Returns
PRO_TK_NO_ERRORYou used ProMenuDeleteWithStatus() to delete the menu.
PRO_TK_E_FOUNDYou used ProMenuDelete() to delete the menu, so no status is set.
See Also
ProMenuDelete
ProMenuDeleteWithStatus

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: New Menus
  8. User Interface: Menus, Commands, and Popupmenus: Submenus
  9. User Interface: Menus, Commands, and Popupmenus: Setting Menu Buttons
  10. User Interface: Menus, Commands, and Popupmenus: Run-time Menus

Sample Code References:

  1. pt_async ( TestAsync.c )
  2. pt_examples ( TestAnalysis.c )
  3. pt_examples ( TestAnimation.c )
  4. pt_examples ( TestAsm.c )
  5. pt_examples ( TestAsm.c )
  6. pt_examples ( TestAsm.c )
  7. pt_examples ( TestAsm.c )
  8. pt_examples ( TestAsm.c )
  9. pt_examples ( TestDrag.c )
  10. pt_examples ( TestExtref.c )
  11. pt_examples ( TestExtref.c )
  12. pt_examples ( TestExtref.c )
  13. pt_examples ( TestExtrefInfo.c )
  14. pt_examples ( TestImm.c )
  15. pt_examples ( TestMechanism.c )
  16. pt_examples ( TestMoldbase.c )
  17. pt_examples ( TestMultiCADFile.c )
  18. pt_examples ( TestProcstep.c )
  19. pt_examples ( TestSkelet.c )
  20. pt_examples ( TestSkelet.c )
  21. pt_examples ( TestSkelet.c )
  22. pt_examples ( TestSkelet.c )
  23. pt_examples ( TestWeld.c )
  24. pt_examples ( TestConfig.c )
  25. pt_examples ( TestConfig.c )
  26. pt_examples ( TestDbms.c )
  27. pt_examples ( TestDbms.c )
  28. pt_examples ( TestDbms.c )
  29. pt_examples ( TestDimension.c )
  30. pt_examples ( TestDimension.c )
  31. pt_examples ( TestDimension.c )
  32. pt_examples ( TestDimension.c )
  33. pt_examples ( TestFemmesh.c )
  34. pt_examples ( TestImportfeat.c )
  35. pt_examples ( TestInterface.c )
  36. pt_examples ( TestInterface.c )
  37. pt_examples ( TestInterface.c )
  38. pt_examples ( TestInterface.c )
  39. pt_examples ( TestInterface.c )
  40. pt_examples ( TestInterface.c )
  41. pt_examples ( TestInterface.c )
  42. pt_examples ( TestInterface.c )
  43. pt_examples ( TestDispObject.c )
  44. pt_examples ( TestExtobj.c )
  45. pt_examples ( TestExtobj.c )
  46. pt_examples ( TestFamTab.c )
  47. pt_examples ( TestFeats.c )
  48. pt_examples ( TestFeats.c )
  49. pt_examples ( TestFeats.c )
  50. pt_examples ( TestFeats.c )
  51. pt_examples ( TestFeats.c )
  52. pt_examples ( TestFeats.c )
  53. pt_examples ( SketchFeatureCreate.c )
  54. pt_examples ( TestDtmPln.c )
  55. pt_examples ( TestDtmPln.c )
  56. pt_examples ( TestDtmPln.c )
  57. pt_examples ( TestDtmPln.c )
  58. pt_examples ( TestExtrude.c )
  59. pt_examples ( TestExtrude.c )
  60. pt_examples ( TestExtrude.c )
  61. pt_examples ( TestExtrude.c )
  62. pt_examples ( TestExtrude.c )
  63. pt_examples ( TestExtrude.c )
  64. pt_examples ( TestGenedata.c )
  65. pt_examples ( TestGenedata.c )
  66. pt_examples ( TestGeom.c )
  67. pt_examples ( TestMeasure.c )
  68. pt_examples ( TestXsec.c )
  69. pt_examples ( TestDisplist.c )
  70. pt_examples ( TestDisplist.c )
  71. pt_examples ( TestDrwSheets.c )
  72. pt_examples ( TestDrwSimprep.c )
  73. pt_examples ( TestDrwView.c )
  74. pt_examples ( TestDrwView.c )
  75. pt_examples ( TestDrwView.c )
  76. pt_examples ( TestDtlentity.c )
  77. pt_examples ( TestDtlgroup.c )
  78. pt_examples ( TestDtlgroup.c )
  79. pt_examples ( TestDtlnote.c )
  80. pt_examples ( TestDtlnote.c )
  81. pt_examples ( TestDtlnote.c )
  82. pt_examples ( TestDtlsyminst.c )
  83. pt_examples ( TestDtlsyminst.c )
  84. pt_examples ( TestGraphics.c )
  85. pt_examples ( TestGraphics.c )
  86. pt_examples ( TestGraphics.c )
  87. pt_examples ( TestGraphics.c )
  88. pt_examples ( TestLayer.c )
  89. pt_examples ( TestLayer.c )
  90. pt_examples ( TestLayer.c )
  91. pt_examples ( TestLayer.c )
  92. pt_examples ( TestLayer.c )
  93. pt_examples ( TestLayer.c )
  94. pt_examples ( TestLayer.c )
  95. pt_examples ( TestLayer.c )
  96. pt_examples ( TestLayer.c )
  97. pt_examples ( TestLinestyle.c )
  98. pt_examples ( TestRay.c )
  99. pt_examples ( TestSymDefMenu.c )
  100. pt_examples ( TestSymDefMenu.c )
  101. pt_examples ( TestSymDefMenu.c )
  102. pt_examples ( TestText.c )
  103. pt_examples ( TestView.c )
  104. pt_examples ( TestDrawing.c )
  105. pt_examples ( TestDrawing.c )
  106. pt_examples ( TestMain.c )
  107. pt_examples ( TestMain.c )
  108. pt_examples ( TestMain.c )
  109. pt_examples ( TestMain.c )
  110. pt_examples ( TestMain.c )
  111. pt_examples ( TestMain.c )
  112. pt_examples ( TestMain.c )
  113. pt_examples ( TestMenu.c )
  114. pt_examples ( TestCavityLayout.c )
  115. pt_examples ( TestClCmd.c )
  116. pt_examples ( TestClCmd.c )
  117. pt_examples ( TestMfgFixt.c )
  118. pt_examples ( TestMfgMenu.c )
  119. pt_examples ( TestMfgNCSeq.c )
  120. pt_examples ( TestMfgWcell.c )
  121. pt_examples ( TestMoldLayout.c )
  122. pt_examples ( TestTool.c )
  123. pt_examples ( TestTool.c )
  124. pt_examples ( TestTool.c )
  125. pt_examples ( UtilMfgNew.c )
  126. pt_examples ( UtilMfgNew.c )
  127. pt_examples ( UtilMfgNew.c )
  128. pt_examples ( UtilMfgNew.c )
  129. pt_examples ( UtilMfgNew.c )
  130. pt_examples ( UtilMfgNew.c )
  131. pt_examples ( TestMisc.c )
  132. pt_examples ( TestNotify.c )
  133. pt_examples ( TestGtol.c )
  134. pt_examples ( TestGtol.c )
  135. pt_examples ( TestGtol.c )
  136. pt_examples ( TestParams.c )
  137. pt_examples ( TestRelation.c )
  138. pt_examples ( TestRelation.c )
  139. pt_examples ( TestSetup.c )
  140. pt_examples ( TestSetup.c )
  141. pt_examples ( TestSetup.c )
  142. pt_examples ( TestSetup.c )
  143. pt_examples ( TestSetup.c )
  144. pt_examples ( TestSetup.c )
  145. pt_examples ( TestPartMaterial.c )
  146. pt_examples ( TestSect.c )
  147. pt_examples ( TestSect.c )
  148. pt_examples ( UtilSect.c )
  149. pt_examples ( TestSelect.c )
  150. pt_examples ( TestRule.c )
  151. pt_examples ( TestRule.c )
  152. pt_examples ( TestSimpRep.c )
  153. pt_examples ( TestSimpRep.c )
  154. pt_examples ( TestSimpRep.c )
  155. pt_examples ( TestSimpRep.c )
  156. pt_examples ( TestSimpRep.c )
  157. pt_examples ( TestSimpRep.c )
  158. pt_examples ( TestSimpRep.c )
  159. pt_examples ( TestSimpRep.c )
  160. pt_examples ( TestCollect.c )
  161. pt_examples ( UtilMenu.c )
  162. pt_examples ( UtilMenu.c )
  163. pt_mech_examples ( PTMechExItemInfo.c )
  164. pt_mech_examples ( PTMechExLoadOper.c )
  165. pt_mech_examples ( PTMechExLoadOper.c )
  166. pt_mech_examples ( PTMechExLoadOper.c )
  167. pt_userguide ( UgInterfaceMenu.c )
  168. pt_userguide ( UgAsmMenu.c )
  169. pt_userguide ( UgAsmMenu.c )
  170. pt_userguide ( UgAsmMenu.c )
  171. pt_userguide ( UgAsmMenu.c )
  172. pt_userguide ( UgCommonMenus.c )
  173. pt_userguide ( UgCommonMenus.c )
  174. pt_userguide ( UgCommonMenus.c )
  175. pt_userguide ( UgCommonMenus.c )
  176. pt_userguide ( UgCommonMenus.c )
  177. pt_userguide ( UgCommonMenus.c )
  178. pt_userguide ( UgCommonMenus.c )
  179. pt_userguide ( UgCommonMenus.c )
  180. pt_userguide ( UgCommonMenus.c )
  181. pt_userguide ( UgCommonMenus.c )
  182. pt_userguide ( UgCommonMenus.c )
  183. pt_userguide ( UgCommonMenus.c )
  184. pt_userguide ( UgCommonMenus.c )
  185. pt_userguide ( UgCommonMenus.c )
  186. pt_userguide ( UgDrawingMenu.c )
  187. pt_userguide ( UgDrawingMenu.c )
  188. pt_userguide ( UgDrawingMenu.c )
  189. pt_userguide ( UgDrawingMenu.c )
  190. pt_userguide ( UgDrawingMenu.c )
  191. pt_userguide ( UgDrawingMenu.c )
  192. pt_userguide ( UgDrawingMenu.c )
  193. pt_userguide ( UgDrawingMenu.c )
  194. pt_userguide ( UgDrawingMenu.c )
  195. pt_userguide ( UgMFGMenu.c )
  196. pt_userguide ( UgMFGMenu.c )
  197. pt_userguide ( UgMainMenu.c )
  198. pt_userguide ( UgMainMenu.c )
  199. pt_userguide ( UgMainMenu.c )
  200. pt_userguide ( UgMenuMenusSetup.c )
  201. pt_userguide ( UgMenuMenusSetup.c )
  202. pt_userguide ( UgNewDrawingMenu.c )
  203. pt_userguide ( UgPartMenu.c )
  204. pt_userguide ( UgPartMenu.c )
  205. pt_userguide ( UgPlotSetup.c )
  206. pt_userguide ( UgREADME.c )
  207. pt_userguide ( UgUIMenu.c )
  208. pt_userguide ( UgMenuBitsChange.c )
  209. pt_userguide ( UgMenuJustificationGet.c )
  210. pt_userguide ( UgMenuNewMenuUse.c )
  211. pt_userguide ( UgMenuValueSelect.c )
  212. pt_userguide ( UgModelLayerCreate.c )
  213. pt_userguide ( UgModelLayerItemsAdd.c )
  214. pt_userguide ( UgSolidMenu.c )