Export (0) Print
Expand All
Expand Minimize

CWindow::Invalidate

Invalidates the entire client area.

BOOL Invalidate(
   BOOL bErase = TRUE 
) throw();

See InvalidateRect in the Platform SDK.

Remarks

Passes NULL for the RECT parameter to the InvalidateRect Win32 function.

Example

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::Invalidate() to invalidate the entire client area

CWindow myWindow;
myWindow.Attach(hWnd);
myWindow.Invalidate();

See Also

CWindow Overview | Class Members | CWindow::InvalidateRect | CWindow::InvalidateRgn | CWindow::ValidateRect | CWindow::ValidateRgn

Show:
© 2015 Microsoft