Call this member function to convert (map) a set of points from the coordinate space of the CWnd to the coordinate space of another window.
void MapWindowPoints( CWnd* pwndTo, LPRECT lpRect ) const;
void MapWindowPoints( CWnd* pwndTo, LPPOINT lpPoint, UINT nCount ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::ClientToScreen, CWnd::ScreenToClient