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::GetWindowRect
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void GetWindowRect( LPRECT lpRect ) const;
 
  Parameter   Description
 
  <lpRect>    Points to a CRect or a RECT structure that will receive
              the screen coordinates of the upper-left and lower-right
              corners.
 
  Remarks
 
  Copies the dimensions of the bounding rectangle of the CWnd object to
  the structure pointed to by <lpRect>. The dimensions are given in screen
  coordinates, relative to the upper-left corner of the display screen.
  The dimensions of the caption, border, and scroll bars, if present, are
  included.
 
  See Also
 
  CWnd::GetClientRect, CWnd::MoveWindow, CWnd::SetWindowPos,
  ::GetWindowRect
 
 
                                     -♦-