CWnd::MapWindowPoints
Visual Studio 2008
Converts (maps) 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;