DIALOG REDRAW statement

Purpose

Signal a designated dialog and all child controls to be redrawn immediately.

Syntax

DIALOG REDRAW hDlg

Remarks

DIALOG REDRAW invalidates the target dialog area, and signals a redraw/repaint to occur immediately, even if there are pending messages in the message queue.

hDlg refers to the dialog that is to be redrawn.

Restrictions 

It is not advisable to use DIALOG REDRAW or CONTROL REDRAW statements within the %WM_PAINT and associated message handling code, or an infinite redraw loop could occur.

See also

Dynamic Dialog Tools, CONTROL REDRAW, CONTROL SET COLOR, DIALOG SET COLOR

Example

DIALOG REDRAW hDlg