When a ListView
is in virtual mode, you are responsible for feeding the ListView
a ListItem
corresponding to index n
when it asks through the OnRetrieveItem
event.
i sort my list according to my own rules, and tell the listview to repaint:
listView1.Invalidate();
That's fine and dandy.
Except when the user has selected some items. Now when the tree repaints, different items are selected.
What is the technique to sort SelectedIndices
?
But if i sort my own personal list