LVM_SETSELECTIONMARK

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


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

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.

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

Headercommctrl.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: