EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

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 #918 background imageLoading...
Page #918 background image
876
Appendix A: System Routines — Menus
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
MenuAddText
Declaration:
HANDLE
MenuAddText
(HANDLE
hMenu
, SWORD
ParentId
,
const char *
Name
, short
Id
, WORD
Flags
);
Category(ies):
Menus
Description:
Add a text entry to a dynamic menu.
Inputs:
hMenu
Handle to a dynamic menu created with
MenuNew
or
MenuLoad
.
ParentId
ID of parent if adding a child entry (0 if adding top-level
entry).
Name
Pointer to ICON.
Id
ID of new entry. If
Id
is 0 then use sequentially numbered
Ids. IDs are limited to the range 0x0001 . . . 0xFFF (12 bits).
NOTE:
If you are adding to a menu created with the resource compiler (using
MenuLoad
) do NOT use the range F00 . . . FFF.
Flags
Must be one of the following:
DMF_TOP New top-level entry that cannot be a
parent.
DMF_TOP_SUB New top-level entry that can have
children.
DMF_CHILD Child of parent (as specified by
ParentId
).
DMF_CILD_SUB Child of parent (
ParentId
) that can
also have children.
Outputs:
hMenu
if successful, H_NULL if out of memory or error in parameters.
Assumptions:
None
Side Effects:
May compress the heap.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: MenuNew, MenuLoad, DynMenuAdd, DynMenuChange
(continued)

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