Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::ValidateRect
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void ValidateRect( LPRECT lpRect );
 
  Parameter   Description
 
  <lpRect>    Points to a CRect or RECT structure that contains the
              rectangle (in client coordinates) to be removed from the
              update region.
 
  Remarks
 
  Validates the client area within the given rectangle by removing the
  rectangle from the update region of the given window. If <lpRect> is
  NULL, the entire window is validated.
 
  The BeginPaint member function automatically validates the entire
  client area. Neither the ValidateRect nor ValidateRgn member function
  should be called if a portion of the update region needs to be validated
  before WM_PAINT is next sent.
 
  Windows continues to send WM_PAINT messages until the current update
  region is validated.
 
  See Also
 
  CWnd::BeginPaint, ::ValidateRect, CWnd::ValidateRgn
 
 
                                     -♦-