Export (0) Print
Expand All
Expand Minimize

LVM_SETSELECTIONMARK message

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

LVM_GETSELECTIONMARK

 

 

Community Additions

ADD
Show:
© 2014 Microsoft