Quote Originally Posted by ADSOFT
Well I want to use the sorting features of ListView. I want to use the listview as a sorting mechanism that quickly returns me an index.
Instead of a hidden column, could you use CListCtrl::SetItemData to store the variable? Then in your CompareFunc do your comparison based on the item data.