The MapWindowPoints function converts (maps) a set of points from a coordinate space relative to one window to a coordinate space relative to another window.
int MapWindowPoints(
HWND hWndFrom, |
// handle of window to be mapped from |
HWND hWndTo, |
// handle of window to be mapped to |
LPPOINT lpPoints, |
// address of structure array with points to map |
UINT cPoints |
// number of structures in array |
); |
If the function succeeds, the low-order word of the return value is the number of pixels added to the horizontal coordinate of each source point in order to compute the horizontal coordinate of each destination point; the high-order word is the number of pixels added to the vertical coordinate of each source point in order to compute the vertical coordinate of each destination point.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
ClientToScreen, POINT, RECT, ScreenToClient
file: /Techref/os/win/api/win32/func/src/f57_1.htm, 3KB, , updated: 2000/4/7 12:19, local time: 2024/9/1 14:52,
18.226.28.255:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/func/src/f57_1.htm"> MapWindowPoints</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.