다음을 통해 공유


CWindow::MapWindowPoints

Converts a set of points from the window's coordinate space to the coordinate space of another window.

int MapWindowPoints( 
   HWND hWndTo, 
   LPPOINT lpPoint, 
   UINT nCount  
) const throw(); 
int MapWindowPoints( 
   HWND hWndTo, 
   LPRECT lpRect  
) const throw();

Remarks

See MapWindowPoints in the Windows SDK.

The second version of this method allows you to convert the coordinates of a RECT structure.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

POINT