LVM_SETSELECTIONMARK (Windows CE 5.0)

Send Feedback

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

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 Values

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

Remarks

Related macro:ListView_SetSelectionMark

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

ListView_SetSelectionMark | List-View Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.