Texas Instruments TI89 Developer Guide - Page 921
MBF_NO_DRAWTOP, MenuEnd, MenuKey, MenuCheck, MenuSubStat
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 921 highlights
Appendix A: System Routines - Menus 879 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; } TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/921.png)