Texas Instruments TI89 Developer Guide - Page 936
MenuHandle, Index, MenuId, continued, MenuBegin, MenuGetTopRedef, MenuTopSelect
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 936 highlights
894 Appendix A: System Routines - Menus MenuTopRedef Declaration: Category(ies): void MenuTopRedef (HANDLE MenuHandle, SWORD Index, SINT MenuId) Menus Description: Inputs: Redefine a top-level menu item Icon for a menu that was started with the MBF_REDEF flag set when MenuBegin was called and created with the resource compiler (using the MF_ALT_ICONS flag). The selected top-level Icon is redrawn with the Icon of one of its submenus. MenuHandle - Handle returned from MenuBegin. Index - 0 . . . number of top-level items - 1. MenuId - New menu ID for the top-level item specified by Index. Note that MenuId must be the menu ID for one of the submenus for the top-level item selected. Outputs: None Assumptions: MenuHandle refers to a menu-draw handle with the MBF_REDEF flag bit set when it was started with MenuBegin. Redefinable menus may only be created with the resource compiler. The redefined item must have text and an icon defined for it (see example below). The original top-level item may be defined with the special DUMMY keyword in which case there is no default selection or it may have a default icon specified and then it will not have to be initialized with MenuTopRedef. Side Effects: None Availability: All versions of the TI-89 / TI-92 Plus. TI-89 / TI-92 Plus Differences: None See Also: MenuBegin, MenuGetTopRedef, MenuTopSelect (continued) TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001