Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the selection mark in a list-view control. You can send this message explicitly or use the ListView_SetSelectionMark macro.
Parameters
-
wParam
- Must be zero.
-
lParam
-
Zero-based index of the new selection mark. If set to -1, the selection mark is removed.
Return value
Returns the previous selection mark, or -1 if there is no previous selection mark.
Remarks
The selection mark is the item index from which a multiple selection starts. This message does not affect the selection state of the item.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|