Appendix A: System Routines — Dialog
347
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
DialogAdd
Declaration:
HANDLE
DialogAdd
(HANDLE
dH
, WORD
Flags
, WORD
x
, WORD
y
,
WORD
Type
, . . . )
Category(ies):
Dialog
Description:
Add an item to a dynamic dialog box. See section
11.4. Dialog Boxes
for a
description of the
Flags
,
Type
, and additional parameter fields.
Inputs:
dH
— HANDLE created by
DialogNew
.
Flags
— Flags for new item.
x, y
— Coordinates relative to dialog box of new item.
Type
— One of the following items which determines the parameters
following
Type
.
D_DYNPOPUP
char *
TextPtr
, HANDLE (*
GetPopUp
) (WORD),
WORD
oIndex
D_EDIT_FIELD
char *
TextPtr
, WORD
bOffset
, WORD
Flen
, WORD
Dlen
D_HEADER
char *
TextPtr
, WORD
lButton
, WORD
rButton
D_HEDIT
char *
TextPtr
, WORD
Dlen
D_HPOPUP
char *
TextPtr
, HANDLE
hPopUp
, WORD
oIndex
D_MENU
MENU *
menuPtr
, WORD
MaxMenuWidth
D_POPUP
char *
TextPtr
, MENU *
PopUp
, WORD
oIndex
D_SCROLL_REGION
WORD
x1
, WORD
y1
, WORD
Index0
, WORD
Index1
,
WORD
NumDspFields
, WORD
TotNumFields
,
WORD
FieldHeight
D_TEXT
char *
TextPtr
D_XFLAGS
WORD
xFlags1
,
xFlags2
,
xFlags3
,
xFlags4
Outputs:
dH
if successful or H_NULL if not enough memory.
(continued)