Category Menu manager menus, Object ProCompoundmenu

Function ProCompoundmenuCreate


Description
Takes an array of previously loaded menus and appends them into one menu.
Synopsis
#include <ProMenu.h>
ProErrorProCompoundmenuCreate(
char** menus
/* (In)
An array of menu names, terminated by an empty string
*/
int* n_submenus
/* (Out)
The number of menus in the compound menu
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the compound menu. NOTE: use ProMenuDeleteWithStatus() as the action to perform when the user selects an exit button from a compound menu, rather than ProMenuDelete().

Manual References:

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

Sample Code References:

  1. pt_examples ( TestExtref.c )
  2. pt_examples ( TestExtrefInfo.c )
  3. pt_examples ( TestFemmesh.c )
  4. pt_examples ( TestImportfeat.c )
  5. pt_examples ( TestInterface.c )
  6. pt_examples ( TestInterface.c )
  7. pt_examples ( TestInterface.c )
  8. pt_examples ( TestDtmPln.c )
  9. pt_examples ( TestExtrude.c )
  10. pt_examples ( TestExtrude.c )
  11. pt_examples ( TestDtlnote.c )
  12. pt_examples ( TestGraphics.c )
  13. pt_examples ( TestMfgFixt.c )
  14. pt_examples ( TestMfgMenu.c )
  15. pt_examples ( TestMfgNCSeq.c )
  16. pt_examples ( TestMfgWcell.c )
  17. pt_examples ( TestRule.c )