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/30 15:19,
18.217.161.27: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/mess/src/msg10_18.htm"> LB_ITEMFROMPOINT</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! |
.