CWnd::MapWindowPoints

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.

Syntax

void MapWindowPoints( CWnd* pwndTo, LPRECT lpRect ) const;

void MapWindowPoints( CWnd* pwndTo, LPPOINT lpPoint, UINT nCount ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::ClientToScreen, CWnd::ScreenToClient