ListView::GetSelectedItem
For multiple-selection list views retrieves the index of the next
selected list view item.
short GetSelectedItem (short listItem = TopItem) const;
Parameters
- listItem
1-based index of the list view item where the search begins. Use TopItem of Item type to search from the first item. For single-selection list views this parameter is ignored.
Return Value
For multiple-selection list views, the 1-based index of the first
selected item after listItem, including the starting item, too.
If there is no such selected item, the function returns zero.