GUI Help > Menus > setMenuItemChecked
setMenuItemChecked
setMenuItemChecked handle menu, int item, bool checked
Description: Checks or unchecks a menu item.
Return Value:
Parameters:
menu | Handle of a menu
item | Number specifying the item you want to change. This is the number you assigned to the item with the addMenuItem command.
checked | 0 to uncheck the item, 1 to check it.
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)