CWnd::ValidateRect

Call this member function to validate the client area within the given rectangle by removing the rectangle from the update region of the window.

Syntax

void ValidateRect ( LPCRECT lpRect );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

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 Overview, CWnd Member Functions, Window Class Categories, CWnd::BeginPaint, RECT