Compartir a través de


CWindow::RedrawWindow

actualiza un rectángulo o una región especificado en el área cliente.

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

Comentarios

Vea RedrawWindow en Windows SDK.

Ejemplo

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

Requisitos

encabezado: atlwin.h

Vea también

Referencia

Clase de CWindow

CWindow::UpdateWindow

RECT