Home Window dialogs WINDOW DIALOG - OPEN (AES 161) WINDOW DIALOG - DELETE (AES 163)

2.3.4 WINDOW DIALOG - CLOSE (AES 162)

This function closes the window dialog <dialog>.

Declaration:
WORD wdlg_close( DIALOG *dialog );

Call:
wdlg_close( dialog );

Variable         Argument            Meaning
Inputs:

contrl[0]        162                 wdlg_close
contrl[1]        0                   Entries in intin
contrl[3]        1                   Entries in addrin

addrin[0]        dialog              Pointer to the dialog structure

Outputs:

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

intout[0]        1
intout[1]        x                   Last x-coordinate of the dialog
intout[2]        y                   Last y-coordinate of the dialog

Note: Old WDIALOG versions do not return the window coordinates. In that case the binding enters -1, so that the dialog will be centred automatically at the next call.


Home Window dialogs WINDOW DIALOG - OPEN (AES 161) WINDOW DIALOG - DELETE (AES 163)