CWnd::ValidateRect

This method validates the client area within the specified rectangle by removing the rectangle from the update region of the window.

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 ValidateRect ( LPCRECT lpRect );

Remarks

In Windows CE, you have to pass a valid RECT pointer in the lpRect parameter. Windows 95 and Windows NT validate the entire window if the lpRect parameter is set to NULL. This is not supported in Windows CE.

See Also

CWnd::BeginPaint, RECT