EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #926 background imageLoading...
Page #926 background image
884
Appendix A: System Routines — Menus
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
MenuItemDef
Declaration:
void *
MenuItemDef
(HANDLE
mH
, WORD
Id
, WORD *
type
)
Category(ies):
Menus
Description:
Given a menu
Id
, return a pointer to the text, ICON, or BITMAP defining it;
NULL if
Id
not found (*
type
set to 0) for a given menu handle. Return its
type in
type
.
Inputs:
mH
Handle returned from
MenuBegin
for menu to search.
Id
Menu ID.
Outputs:
Pointer to item’s definition.
*
type
— DMF_TEXT, DMF_ICON, DMF_BITMAP, or 0 if
Id
not found.
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: MenuBegin, DynMenuAdd, DynMenuChange
Example:
HANDLE mH;
WORD Id, type;
void *vPtr;
.
.
.
if (Id = MenuKey(mH, KB_F1)) {
if (vPtr = MenuItemDef( mH, Id, &type )) {
/* vPtr points to item selected */
/* type will be DMF_TEXT, DMF_ICON or DMF_BITMAP depending on the type
of the menu item */
.
.
.
}
}

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals