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/27 15:49,
18.217.10.200: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://massmind.org/Techref/os/win/api/win32/mess/src/msg10_18.htm"> LB_ITEMFROMPOINT</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.