|
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_SETSEL
An application sends an LB_SETSEL message to select a string in a
multiple-selection list box.
LB_SETSEL
wParam = (WPARAM) (BOOL) fSelect; // selection flag
lParam = (LPARAM) (UINT) index; // item index
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 FALSE, the highlight is removed and the string is no longer selected.
index
Value of
lParam. Specifies the zero-based index of the string to set. If
index is
1, the selection is added to or removed from all strings, depending on the
value of
fSelect.
Return Values
If an error occurs, the return value is LB_ERR.
Remarks
Use this message only with multiple-selection list boxes.
See Also
LB_GETSEL,
LB_SELITEMRANGE
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database