902
Appendix A: System Routines — Menus
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
PopupBeginDo
Declaration:
WORD
PopupBeginDo
(HANDLE
pH
, short
x0
, short
y0
, short
Offset0
)
Category(ies):
Menus
Description:
Execute a dynamically allocated pop-up using the handle returned by
PopupBegin
.
Inputs:
pH
— HANDLE returned from
PopupBegin
.
x0
,
y0
— Screen coordinates of the upper left corner of the menu.
If
x0
is equal to
L
1 then the pop-up is centered
horizontally, if
y0
is equal to
L
1 then the pop-up is
centered vertically.
Offset0
— Menu ID of initially selected item (0 defaults to first
item).
Outputs:
0 — Nothing selected (
N
pressed) or not enough memory
to display pop-up.
1 . . . 0xFFF — Menu ID of item selected.
Assumptions:
Do NOT pass handles from
PopupNew
.
Side Effects:
May cause heap compression.
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: PopupBegin, MenuEnd
Example:
See
PopupBegin
.