다음을 통해 공유


CWindow::Invalidate

전체 클라이언트 영역을 무효화합니다.

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

설명

참조 InvalidateRect 에 있는 Windows SDK.

가공 패스 NULLRECT 매개 변수는 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();

요구 사항

헤더: atlwin.h

참고 항목

참조

CWindow 클래스

CWindow::InvalidateRect

CWindow::InvalidateRgn

CWindow::ValidateRect

CWindow::ValidateRgn