The following methods are used to draw, redraw, and clear a dialog or dialog control.
>>-aDialogControl~Draw-----------------------------------------><
The Draw method draws the dialog or dialog control.
Drawing was successful.
Drawing failed.
>>-aDialogControl~Clear----------------------------------------><
The Clear method draws the dialog or dialog control using the background brush.
Clearing was successful.
Clearing failed.
>>-aDialogControl~ClearRect(--left--,--top--,--right--,--bottom--)-><
The ClearRect method draws the dialog or dialog control using the background brush.
The arguments are:
The upper left corner of the rectangle, in screen pixels.
The lower right corner of the rectangle, in screen pixels.
Drawing was successful.
Drawing failed.
>>-aDialogControl~Redraw---------------------------------------><
The Redraw method redraws the dialog or dialog control immediately.
Redrawing was successful.
Redrawing failed.
>>-aDialogControl~RedrawRect(--left--,--top--,--right--,--bottom--> >--+-----------+--)---------------------------------------------->< +-,erasebkg-+
The RedrawRect method immediately redraws the rectangle of the client area of the associated dialog. You can specify whether the background of the dialog is to be erased before redrawing.
The arguments are:
The upper left corner of the rectangle relative to the client area, in screen pixels.
The lower right corner of the rectangle relative to the client area, in screen pixels.
If this argument is 1 or "Y", the background of the dialog is erased before repainting.
Redrawing was successful.
Redrawing failed.
>>-aDialogControl~RedrawClient(--erasebkg--)-------------------><
The RedrawClient method immediately redraws the entire client area of the dialog or dialog control. You can specify whether the background of the dialog or dialog control is to be erased before redrawing.
The only argument is:
If you specify 1 or "Y", the background of the dialog is erased before redrawing.
Redrawing was successful.
Redrawing failed.