| Microsoft DirectX 8.1 (C++) | 
The PaintWindow method causes the window to be repainted.
Syntax
void PaintWindow(
    BOOL bErase
);
Parameters
bErase
Boolean value that specifies whether the background is erased. If the value is TRUE, the background is erased.
Remarks
This method generates a WM_PAINT message by invalidating the window's entire client area.
See Also