Dynmenuchange - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Menus

DynMenuChange

Declaration:
HANDLE DynMenuChange (HANDLE hMenu , short Id ,
const void * newName , WORD Flags );
Category(ies):
Menus
Description:
Change a previous entry in a dynamic menu.
hMenu
Inputs:
Id
newName — Pointer to new text string, ICON or BITMAP.
Flags
hMenu if successful, H_NULL if out of memory or Id not found.
Outputs:
Note that if there is an error adding the new entry, the MF_ERROR bit in
MenuFlags( hMenu ) is set.
Assumptions:
None
Side Effects:
May cause heap compression.
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
MenuNew, MenuLoad, DynMenuAdd
Example:
See PopupBegin.
TI-89 / TI-92 Plus Developer Guide
— Handle to a dynamic menu created with MenuNew or
MenuLoad.
— ID of entry to change.
— One of the following flags must be set:
DMF_TEXT
— Name points to a text string.
DMF_ICON
— Name points to an ICON.
DMF_BITMAP — Name points to a BITMAP.
Not for Distribution
873
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents