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 #929 background imageLoading...
Page #929 background image
Appendix A: System Routines — Menus
887
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
MenuLoad
(continued)
Example:
HANDLE hMenu, hDraw;
const MENU AddToMenu_end, AddToMenu;
if (hMenu = MenuLoad( &AddToMenu, (const BYTE *) &AddToMenu_end - (const BYTE *)
&AddToMenu )) {
DynMenuAdd(hMenu, 0, "NEW TOP", 30, DMF_TEXT | DMF_TOP_SUB );
DynMenuAdd(hMenu, 30, "NEW SUB1", 31, DMF_TEXT | DMF_CHILD );
DynMenuAdd(hMenu, 30, "NEW SUB2", 32, DMF_TEXT | DMF_CHILD );
DynMenuAdd(hMenu, 20, "ADDED TO TOP2", 21, DMF_TEXT | DMF_CHILD );
if (!(MenuFlags(hMenu) & MF_ERROR)) {
if (hDraw = MenuBegin( 0, 0, 0, MBF_HMENU, hMenu )) {
MenuKey( hDraw, KB_F1 );
MenuEnd( hDraw );
return;
}
}
HeapFree( hMenu );
}
APPR.R:
#include "tiams.h"
TOOLBOX AddToMenu, RC_NO_IDS, 0, 0 {
"TOP 1", 10 {
"SUB 1", 11
"SUB 2", 12
}
"TOP 2", 20 {
}
}

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