mmplay

mmplay

  • NA
  • 16
  • 0

How can I get the last select-item in ListView?

Feb 5 2004 7:46 AM
Hi, there How can I get the last select-item in ListView? ************ code ***************************** int i = ListView.SelectImtmes.Count - 1; ListViewItem item = ListView.SelectItems[i]; ************ code ***************************** I can do it when user selects in order. but when user selects not in order, (ex. select ListViewItem.Items[5], then ListViewItem.Items[3]) I cann't get the correct last select-item. How to do it? Thanks...

Answers (1)