Home Window dialogs WINDOW DIALOG - ICONIFY (AES 165, 3) WINDOW DIALOG - EVENT (AES 166)

2.3.14 WINDOW DIALOG - UNICONIFY (AES 165, 4)

The counterpart to wdlg_set_iconify(). The GRECT <g> sets the new position and size of the window (external dimensions). Generally one will pass msg+4 here when one has received the message WM_UNICONIFIY. UNICONIFY alters the position and size of the root object. As one usually displayed a different object tree for iconified windows, the original tree can be passed in <tree> (otherwise set it to NULL). Furthermore one can specify the original window title if it was altered with wdlg_set_iconify.

Declaration:
WORD wdlg_set_uniconify( DIALOG *dialog, GRECT *g,
                       char *title, OBJECT *tree );

Call:
wdlg_set_uniconify( dialog, g, title, tree );

Variable         Argument            Meaning
Inputs:

contrl[0]        165                 wdlg_set
contrl[1]        1                   Entries in intin
contrl[2]        1                   Entries in intout
contrl[3]        4                   Entries in addrin

intin[0]         4                   wdlg_set_uniconify

addrin[0]        dialog              Pointer to the dialog structure
addrin[1]        g                   Pointer to GRECT
addrin[2]        title               New window title or NULL
addrin[3]        tree                New window tree or NULL

Outputs:

intout[0]        1

Note: This function is only present from WDIALOG 1.05 onwards. If it is not present, intout[0] contains a 0.


Home Window dialogs WINDOW DIALOG - ICONIFY (AES 165, 3) WINDOW DIALOG - EVENT (AES 166)