CWindow::Invalidate
Invalida toda a área de cliente.
BOOL Invalidate(
BOOL bErase = TRUE
) throw();
Comentários
See InvalidateRect in the Windows SDK.
PassaNULO for the RECT parâmetro para o InvalidateRect Função do Win32.
Exemplo
//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
Cabeçalho: atlwin.h