Home Window dialogs WINDOW DIALOG - EVENT (AES 166) List boxes

2.3.16 WINDOW DIALOG - REDRAW (AES 167)

REDRAW works in a similar way to objc_draw(), but unlike there the rectangle list of the dialog window is taken into account. If one wants to draw an object within the dialog then one should always use wdlg_redraw() and not objc_draw(). Before calling wdlg_redraw, just as before and after objc_draw(), a wind_update() call is necessary.

Declaration:
void wdlg_redraw( DIALOG *dialog, GRECT *rect, WORD obj, WORD depth );

Call:
wdlg_redraw( dialog, &rect, obj, MAX_DEPTH );

Variable         Argument            Meaning
Inputs:

contrl[0]        167                 wdlg_redraw
contrl[1]        2                   Entries in intin
contrl[3]        2                   Entries in addrin

intin[0]         obj                 Number of the start object
intin[1]         depth               Number of the plane/depth

addrin[0]        dialog              Pointer to the dialog structure
addrin[1]        rect                Pointer to the bounding GRECT

Outputs:

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


Home Window dialogs WINDOW DIALOG - EVENT (AES 166) List boxes