Hi All!
I use a special ListViewItemComparer-class to sort items in a listview for
any column, and I have also allowed column-reordering.
So far so good, but if I click the columnheader of any column, and the
columnorder is not 'default', the listview 'forget' my column-re-ordering
(i.e 0 2 1), and sets column-order back to default (i.e. 0 1 2).
Is there anyone that might know what I have forgot to code in my
ListViewItemComparer-class, the sorting works fine without
column-re-ordering?
Some info:
- I use VS 2003, framework 1.1
- I use SendMessage with LVM_SETCOLUMNORDERARRAY to set the columnorder at
startup.
TIA
Per Rollvang