Partager via


CWindow::UpdateWindow

Updates the client area.

BOOL UpdateWindow( ) throw();

Remarks

See UpdateWindow in the Windows SDK.

Example

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::UpdateWindow() to update the window

CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bUpdated = myWindow.UpdateWindow();

Requirements

Header: atlwin.h

See Also

Concepts

CWindow Class

CWindow Members

CWindow::RedrawWindow