Home Window dialogs WINDOW DIALOG - DELETE (AES 163) WINDOW DIALOG - GET EDIT OBJECT (AES 164, 1)

2.3.6 WINDOW DIALOG - GET OBJECT TREE (AES 164, 0)

wdlg_get_tree() returns the size of the object tree and the size of the window (of the working area). If the dialog size has not been altered with wdlg_set_size(), then the working area corresponds to the GRECT of the root object.

Declaration:
WORD wdlg_get_tree( DIALOG *dialog, OBJECT **tree, GRECT *r );

Call:
wdlg_get_tree( dialog, &tree, &r );

Variable         Argument            Meaning
Inputs:

contrl[0]        164                 wdlg_get
contrl[1]        1                   Entries in intin
contrl[3]        3                   Entries in addrin

intin[0]         0                   wdlg_get_tree

addrin[0]        dialog              Pointer to the dialog structure
addrin[1]        tree                Pointer to object tree
addrin[2]        rect                Pointer to GRECT

Outputs:

contrl[2]        1                   Entries in intout
contrl[4]        0                   Entries in addrout

intout[0]        1


Home Window dialogs WINDOW DIALOG - DELETE (AES 163) WINDOW DIALOG - GET EDIT OBJECT (AES 164, 1)