Category Menu manager menus, Object ProMenu

Function ProMenuDatamodeSet


Description
Sets the mode of a data menu to use either normal highlighting, or check-mark highlighting. Call this function before calling ProMenuCreate().

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

Synopsis
#include <ProMenu.h>
ProErrorProMenuDatamodeSet(
ProMenuName menuname
/* (In)
The name of the menu
*/
ProBoolean checkmark
/* (In)
Specifies whether to use a check mark or ordinary highlighting
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the mode.
PRO_TK_GENERAL_ERRORThere was a general error and the function failed.
See Also
ProMenuCreate

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Menus, Commands, and Popupmenus: Data Menus
  3. User Interface: Menus, Commands, and Popupmenus: Setting Menu Buttons

Sample Code References:

  1. pt_examples ( TestImportfeat.c )
  2. pt_examples ( TestInterface.c )
  3. pt_examples ( TestDtmPln.c )
  4. pt_examples ( TestMenu.c )
  5. pt_examples ( TestMfgMenu.c )
  6. pt_examples ( TestMfgMenu.c )
  7. pt_examples ( TestMfgNCSeq.c )
  8. pt_examples ( TestMfgWcell.c )
  9. pt_examples ( TestMfgWcell.c )
  10. pt_examples ( TestNotify.c )
  11. pt_examples ( UtilMenu.c )
  12. pt_userguide ( UgMenuBitsChange.c )