CWindow::RedrawWindow

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

备注

在参见 Windows SDK的 RedrawWindow

示例

//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