CWindow::Invalidate

Invalida l'intera area client.

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

Note

Vedere InvalidateRect in Windows SDK.

Passa NULL per il parametro RECT alla funzione Win32 InvalidateRect.

Esempio

//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();

Requisiti

Header: atlwin.h

Vedere anche

Riferimenti

Classe di CWindow

CWindow::InvalidateRect

CWindow::InvalidateRgn

CWindow::ValidateRect

CWindow::ValidateRgn