|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| Windows 95: wParam is 16-bits
|
|
|
LB_SELITEMRANGE
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
Parameters
fSelect
Value of wParam. Specifies how to set the selection. If the fSelect parameter is TRUE, the string is selected and highlighted; if fSelect is zero, the highlight is removed and the string is no longer selected.
wFirst
Value of the low-order word of lParam. Specifies the zero-based index of the first item to select.
wLast
Value of the high-order word of lParam. Specifies the zero-based index of the last item to select.
Return Values
If an error occurs, the return value is LB_ERR.
Remarks
Use this message only with multiple-selection list boxes.
This message can select a range only within the first 65,536 items.
See Also
LB_SELITEMRANGEEX, LB_SETSEL
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|