An application sends an LB_SELITEMRANGE message to select one or more consecutive items in a multiple-selection list box.
LB_SELITEMRANGE wParam = (WPARAM) (BOOL) fSelect; // selection flag lParam = MAKELPARAM(wFirst, wLast); // first and last items
If an error occurs, the return value is LB_ERR.
Use this message only with multiple-selection list boxes.
This message can select a range only within the first 65,536 items.
file: /Techref/os/win/api/win32/mess/src/msg10_21.htm, 1KB, , updated: 2000/4/7 12:20, local time: 2025/4/2 04:11,
18.218.110.116:LOG IN
|
©2025 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://techref.massmind.org/Techref/os/win/api/win32/mess/src/msg10_21.htm"> LB_SELITEMRANGE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.