CWindow::RedrawWindow

지정 된 사각형이 나 영역에서 클라이언트 영역을 업데이트합니다.

BOOL RedrawWindow(
   LPCRECT lpRectUpdate = NULL,
   HRGN hRgnUpdate = NULL,
   UINT flags = RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE 
); throw() 

설명

참조 RedrawWindow 에 있는 Windows SDK.

예제

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::RedrawWindow() to update the entire window using the 
//default arguments

CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bRedrawn = myWindow.RedrawWindow();

요구 사항

헤더: atlwin.h

참고 항목

참조

CWindow 클래스

CWindow::UpdateWindow

RECT