LVM_GETSELECTIONMARK message

Retrieves the selection mark from a list-view control. You can send this message explicitly or use the ListView_GetSelectionMark macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the zero-based selection mark, or -1 if there is no selection mark.

Remarks

The selection mark is the item index from which a multiple selection starts.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

LVM_SETSELECTIONMARK