Appendix A: System Routines — Operating System
923
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
EV_setCmdCheck
Declaration:
void
EV_setCmdCheck
(UINT
cmd
, enum CheckCmds
checkCmd
)
Category(ies):
Operating System
Description:
Sets or clears checkmark on a menu item.
Inputs:
cmd
— Menu item ID — the command number given to the item
when the menu resource was created.
checkCmd
— MC_CHECK — Add checkmark.
MC_UNCHECK — Remove checkmark.
MC_FLIP — Toggle checkmark.
Outputs:
None
Assumptions:
This routine uses the menu handle in application frame attribute
OO_APP_DEFAULT_MENU_HANDLE. See section
9.6. Menu
Processing
for guidelines on setting up a menu where default event
handling can find it.
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: EV_setCmdState, EV_setFKeyState
Example:
EV_setCmdCheck(currentFontSize, MC_UNCHECK);
EV_setCmdCheck(newFontSize, MC_CHECK);
currentFontSize = newFontSize;