CListCtrl::SetSelectionMark

int SetSelectionMark( int iIndex );

Return Value

The previous selection mark, or -1 if there was no selection mark.

Parameters

iIndex

The zero-based index of the first item in a multiple selection.

Remarks

This member function implements the behavior of the Win32 macro, ListView_SetSelectionMark, as described in the Platform SDK.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetSelectionMark