CWindow::Invalidate

BOOL Invalidate( BOOL bErase = TRUE );

See InvalidateRect in the Win32 SDK.

Remarks

Invalidates the entire client area. 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(hWndFoo);
myWindow.Invalidate();

CWindow OverviewClass Members

See Also   CWindow::InvalidateRect, CWindow::InvalidateRgn, CWindow::ValidateRect, CWindow::ValidateRgn