Поделиться через


CWindow::Invalidate

Делает недействительной всю клиентскую область.

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

Заметки

См. раздел InvalidateRect в Windows SDK.

Пропуски NULL для параметра RECT функции InvalidateRect Win32.

Пример

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

Требования

Header: atlwin.h

См. также

Ссылки

CWindow Class

CWindow::InvalidateRect

CWindow::InvalidateRgn

CWindow::ValidateRect

CWindow::ValidateRgn