CListBox::SetAnchorIndex

void SetAnchorIndex( int nIndex );

Parameters

nIndex

Specifies the zero-based index of the list-box item that will be the anchor.

Remarks

Sets the anchor in a multiple-selection list box to begin an extended selection. In a multiple-selection list box, the anchor item is the first or last item in a block of contiguous selected items.

CListBox OverviewClass MembersHierarchy Chart

See Also   CListBox::GetAnchorIndex