Header click and sorting isn't an automatic thingie, you "manually" have to
1) Handle the click.
2) Perform the sort
1) Let the class wizard map the LVN_COLUMNCLICK notification to a method, OnColumnclickMyListControl
2) Do the sorting in the method. See CListCtrl::SortItems documentation in MSDN.
/Per
Nerdy signatures are as lame as the inconsistent stardates of STTNG.