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


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

Требования

Header: atlwin.h

См. также

Ссылки

CWindow Class

CWindow::UpdateWindow

RECT