An application sends this message to retrieve the zero-based index of the item nearest the specified point in a list box.
LB_ITEMFROMPOINT wParam = 0; // not used, must be zero lParam = (LPARAM) MAKELPARAM(xPos, yPos); // coordinates of point
The return value contains the index of the nearest item in the low-order word. The high-order word is zero if the specified point is in the client area of the list box, or one if it is outside the client area.
file: /Techref/os/win/api/win32/mess/src/msg10_18.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/10 01:09,
3.128.173.88:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://massmind.ecomorder.com/techref/os/win/api/win32/mess/src/msg10_18.htm"> LB_ITEMFROMPOINT</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.