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.
CRect::SetRect
CRect                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void SetRect( int x1, int y1, int x2, int y2 );
 
  Parameter   Description
 
  <x1>        Specifies the x-coordinate of the upper-left corner.
 
  <y1>        Specifies the y-coordinate of the upper-left corner.
 
  <x2>        Specifies the x-coordinate of the lower-right corner.
 
  <y2>        Specifies the y-coordinate of the lower-right corner.
 
  Remarks
 
  Sets the dimensions of CRect to the specified coordinates.
 
  See Also
 
  CRect::CRect, CRect::SetRectEmpty, ::SetRect
 
 
                                     -♦-