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::GetClientRect
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void GetClientRect( LPRECT lpRect ) const;
 
  Parameter   Description
 
  <lpRect>    Points to a RECT structure or a CRect to receive the
              client coordinates.
 
  Remarks
 
  Copies the client coordinates of the CWnd client area into the structure
  pointed to by <lpRect>. The client coordinates specify the upper-left
  and lower-right corners of the client area. Since client coordinates are
  relative to the upper-left corners of the CWnd client area, the
  coordinates of the upper-left corner are (0,0).
 
  See Also
 
  CWnd::GetWindowRect, ::GetClientRect
 
 
                                     -♦-