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 #921 background imageLoading...
Page #921 background image
Appendix A: System Routines — Menus
879
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
MenuBegin
(continued)
Inputs:
(continued)
MBF_NO_DRAWTOP
Setup the menu-draw structure and return a handle to it
but do not draw the menu (caller must call
MenuOn
to
draw it).
NOTE:
If both MAX_MENU_WIDTH and MBF_HMENU are set, the first
parameter after
Flags
is the maximum menu width and the
second parameter is the handle to a dynamic menu.
Outputs:
HANDLE of the newly created menu-draw structure. (Note that this handle
is passed to menu routines like
MenuCheck
,
MenuKey
,
MenuOn
,
MenuTopStat
.) It is separate from the handle returned by
MenuNew
for
dynamic menus. H_NULL is returned if there is not enough memory to
create the new structure.
Assumptions:
None
Side Effects:
May cause heap compression.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
TI
-
89 TI
-
92 Plus
Max menu width 159 239
Top level font F_4x6 F_6x8
Sub level font F_6x8 F_6x8
See Also: MenuEnd, MenuKey, MenuCheck, MenuSubStat, MenuTopStat,
MenuOn, MenuOff, MenuTopRedef
Example:
HANDLE hMenuDraw;
WORD key, menuSelect;
const MENU testMenu; /* defined by resource compiler */
if (hMenuDraw = MenuBegin(&testMenu, 0,0, 0 )) {
key = GKeyIn( NULL, 0 );
menuSelect = MenuKey( hMenuDraw, key );
MenuEnd( hMenuDraw );
return menuSelect;
}

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