CWindow::UpdateWindow

 

Updates the client area.

Syntax

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

CWindow Class
CWindow::RedrawWindow