Поделиться через


CWindow::MapWindowPoints

Converts a set of points from the window's coordinate space to the coordinate space of another window.

int MapWindowPoints(
   HWND hWndTo,
   LPPOINT lpPoint,
   UINT nCount 
) const throw();
int MapWindowPoints(
   HWND hWndTo,
   LPRECT lpRect 
) const throw();

Заметки

See MapWindowPoints in the Windows SDK.

The second version of this method allows you to convert the coordinates of a RECT structure.

Требования

Header: atlwin.h

См. также

Основные понятия

CWindow Class

CWindow Members

POINT