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

Reference

CWindow Class

CWindow::RedrawWindow

Other Resources

CWindow Members