CWindow::Invalidate
Reemplaza el área cliente completa.
BOOL Invalidate(
BOOL bErase = TRUE
) throw();
Comentarios
Vea InvalidateRect en Windows SDK.
Pasos NULL para el parámetro de RECT a la función de InvalidateRect Win32.
Ejemplo
//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();
Requisitos
encabezado: atlwin.h