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.
CRgn::GetRgnBox
CRgn                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int GetRgnBox( LPRECT lpRect ) const;
 
  Parameter   Description
 
  <lpRect>    Points to a RECT structure or CRect object to receive the
              coordinates of the bounding rectangle.
 
  Remarks
 
  Retrieves the coordinates of the bounding rectangle of the CRgn object.
 
  Return Value
 
  Specifies the region's type. It can be any of the following values:
 
  Value            Meaning
 
  COMPLEXREGION    Region has overlapping borders.
 
  NULLREGION       Region is empty.
 
  ERROR            CRgn object does not specify a valid region.
 
  SIMPLEREGION     Region has no overlapping borders.
 
  See Also
 
  ::GetRgnBox
 
 
                                     -♦-