CWnd::MapWindowPoints

This method converts (maps) a set of points from the coordinate space of the CWnd to the coordinate space of another window.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

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

See Also

CWnd::ClientToScreen, CWnd::ScreenToClient