MFC
Développer Réduire
Ce sujet n'a pas encore été évalué - Évaluez ce sujet

CWnd::MapWindowPoints

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;
pwndTo

Identifies the window to which points are converted. If this parameter is NULL, the points are converted to screen coordinates.

lpRect

Specifies the rectangle whose points are to be converted. The first version of this function is available only for Windows 3.1 and later.

lpPoint

A pointer to an array of POINT structures that contain the set of points to be converted.

nCount

Specifies the number of POINT structures in the array pointed to by lpPoint.

Header: afxwin.h

Cela vous a-t-il été utile ?
(1500 caractères restants)

Ajouts de la communauté

AJOUTER
Microsoft réalise une enquête en ligne pour recueillir votre opinion sur le site Web de MSDN. Si vous choisissez d’y participer, cette enquête en ligne vous sera présentée lorsque vous quitterez le site Web de MSDN.

Si vous souhaitez y participer,
© 2013 Microsoft. Tous droits réservés.