CWnd::UpdateWindow

This method updates the client area by sending a WM_PAINT message, if the update region is not empty. This method sends a WM_PAINT message directly, bypassing the application queue. If the update region is empty, WM_PAINT is not sent.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void UpdateWindow( );

See Also

CWnd::RedrawWindow