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.
CDC::ExcludeClipRect
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int ExcludeClipRect( int x1, int y1, int x2, int y2 );
  int ExcludeClipRect( LPRECT lpRect );
 
  Parameter   Description
 
  <x1>        Specifies the logical x-coordinate of the upper-left corner
              of the rectangle.
 
  <y1>        Specifies the logical y-coordinate of the upper-left corner
              of the rectangle.
 
  <x2>        Specifies the logical x-coordinate of the lower-right corner
              of the rectangle.
 
  <y2>        Specifies the logical y-coordinate of the lower-right corner
              of the rectangle.
 
  <lpRect>    Specifies the rectangle.
 
  Remarks
 
  Creates a new clipping region that consists of the existing clipping
  region minus the specified rectangle.
 
  Return Value
 
  Specifies the new clipping region's type. It can be any one of the
  following values:
 
  Value           Meaning
 
  COMPLEXREGION   The region has overlapping borders.
 
  ERROR           No region was created.
 
  NULLREGION      The region is empty.
 
  SIMPLEREGION    The region has no overlapping borders.
 
  See Also
 
  ::ExcludeClipRect
 
 
                                     -♦-