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.
MapWindowPoints
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  Windows 3.1 only
 
  void MapWindowPoints( CWnd* pwndTo, LPRECT lpRect ) const;
  void MapWindowPoints( CWnd* pwndTo, LPPOINT lpPoint,
                        UINT nCount ) const;
 
  Parameter   Description
 
  <pwndTo>    Identifies the window to which points are converted. If this
              parameter is NULL or HWND_DESKTOP, the points are converted
              to screen coordinates.
 
  <lpRect>    Specifies the rectangle whose points are to be converted.
 
  <lpPoint>   A pointer to an array of POINT structures that contain the
              set of points to be converted.
 
  <nCount>    Specifies the number of POINT structures in the array
              pointed to by <lpPoint>.
 
  Remarks
 
  Converts (maps) a set of points from the coordinate space of the CWnd to
  the coordinate space of another window.
 
  See Also
 
  CWnd::ClientToScreen, CWnd::ScreenToClient, ::MapWindowPoints
 
 
                                     -♦-