Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This message is sent by an application to select one or more consecutive items in a multiple-selection list box.
Syntax
LB_SELITEMRANGE wParam = (WPARAM)(BOOL) fSelect; lParam = MAKELPARAM( wFirst, wLast); |
Parameters
- fSelect
-
Boolean that specifies how to set the selection. If set to a nonzero value, the string is selected and highlighted. If set to zero, the highlight is removed and the string is no longer selected.
- wFirst
-
Zero-based index of the first item to select.
- wLast
-
Zero-based index of the last item to select.
Return Value
LB_ERR indicates that an error has occurred.
Remarks
Use this message only with multiple-selection list boxes.
This message can select a range only within the first 65,536 items.
Requirements
Header | winuser.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |