Ev_Setcmdstate - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

924

EV_setCmdState

Declaration:
void EV_setCmdState (UINT cmd , BOOL state )
Category(ies):
Operating System
Description:
Enables or disables a menu item. A disabled menu item is dimmed and
cannot be selected by the user.
cmd — menu item ID — the command number given to the item when
Inputs:
state — TRUE
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.
None
Side Effects:
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
EV_setCmdCheck, EV_setFKeyState, section 9.6. Menu Processing
Example:
EV_setCmdState(CM_SAVE_AS, FALSE);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Operating System
the menu resource was created.
— Enable command.
FALSE — Disable command (dim menu item).
/* disable Save As . . . command */
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents