Category Menu manager menus, Object ProMenubutton

Function ProMenubuttonActivate


Description
Sets a menu item to be accessible.

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

Only items of menus currently displayed on the screen can be set to accessible. You cannot make accessible a menu item that Creo Parametric itself has made inaccessible.

Synopsis
#include <ProMenu.h>
ProErrorProMenubuttonActivate(
ProMenuName menuname
/* (In)
The name of the menu
*/
ProMenubuttonName button
/* (In)
The name of the menu button
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully made the button accessible.
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: Menus, Commands, and Popupmenus: Controlling Accessibility of Menu Buttons
  3. User Interface: Menus, Commands, and Popupmenus: Controlling Accessibility of Menu Buttons

Sample Code References:

  1. pt_examples ( TestExtref.c )
  2. pt_examples ( TestExtref.c )
  3. pt_examples ( TestFeats.c )
  4. pt_examples ( TestFeats.c )
  5. pt_examples ( TestExtrude.c )
  6. pt_examples ( TestExtrude.c )
  7. pt_examples ( TestExtrude.c )
  8. pt_examples ( TestDtlsyminst.c )
  9. pt_examples ( TestDtlsyminst.c )
  10. pt_examples ( TestDtlsyminst.c )
  11. pt_examples ( TestDtlsyminst.c )
  12. pt_examples ( TestDtlsyminst.c )
  13. pt_examples ( TestDtlsyminst.c )
  14. pt_examples ( TestSymDefMenu.c )
  15. pt_examples ( TestMenu.c )
  16. pt_examples ( TestMenu.c )
  17. pt_examples ( TestMfgMenu.c )
  18. pt_examples ( TestMfgMenu.c )
  19. pt_examples ( TestMfgMenu.c )
  20. pt_examples ( TestMfgMenu.c )
  21. pt_examples ( TestMfgMenu.c )
  22. pt_examples ( TestMfgMenu.c )
  23. pt_examples ( TestMfgMenu.c )
  24. pt_examples ( TestMfgMenu.c )
  25. pt_examples ( TestMfgNCSeq.c )
  26. pt_examples ( TestMfgWcell.c )
  27. pt_examples ( TestMfgWcell.c )
  28. pt_examples ( TestMfgWcell.c )
  29. pt_examples ( TestMfgWcell.c )
  30. pt_examples ( TestMfgWcell.c )
  31. pt_examples ( TestMfgWcell.c )
  32. pt_examples ( TestMfgWcell.c )
  33. pt_examples ( TestMfgWcell.c )
  34. pt_examples ( TestMfgWcell.c )
  35. pt_examples ( TestMfgWcell.c )
  36. pt_examples ( TestMfgWcell.c )
  37. pt_examples ( TestMfgWcell.c )
  38. pt_examples ( TestMfgWcell.c )
  39. pt_examples ( TestMoldLayout.c )
  40. pt_examples ( TestMoldLayout.c )
  41. pt_examples ( TestTool.c )
  42. pt_examples ( TestRelation.c )
  43. pt_examples ( TestSimpRep.c )
  44. pt_examples ( UtilMenu.c )