Partager via


LVM_SETSELECTIONMARK (Compact 2013)

3/28/2014

This message sets the selection mark in a list-view control.

Syntax

LVM_SETSELECTIONMARK wParam = 0; 
    lParam = (LPARAM)(INT) iIndex;

Parameters

  • wParam
    Not used.
  • iIndex
    Zero-based index of the new selection mark.

    The selection mark is the item index from which a multiple selection starts. This message does not affect the selection state of the item.

Return Value

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

Remarks

Related macro ListView_SetSelectionMark

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Messages
ListView_SetSelectionMark