| EV_setCmdCheck | Function (ROM Call 0xD1)

events.h

void EV_setCmdCheck (unsigned short ID, short State);

Checks/unchecks a menu item in the current application.

This function sets or clears the check mark on a menu item in the current application. It is related to MenuCheck from the menus.h header file. EV_setCmdCheck checks or unchecks the item with the specified ID (see EV_registerMenu).
State should be one of the following values as defined in the MenuCheckCmds enum:

MC_CHECK | Display a check mark next to the menu item.
MC_UNCHECK | AMS 2.00 or higher: Remove the check mark.
MC_FLIP | Invert the status of the check mark.

Note: Unlike MenuCheck, you cannot use the MC_STATUS command to retrieve the status of the checkmark.

Uses: MenuCheck, ROM Call 0x3CD