Changing CListBox sort at runtime
-
I use the listbox for two purposes, for one, I need the sort on. For the other, the sort off so contents wont be sorted alphabetically. How can I change that setting at with code at runtime? Thanks!
-
I use the listbox for two purposes, for one, I need the sort on. For the other, the sort off so contents wont be sorted alphabetically. How can I change that setting at with code at runtime? Thanks!
Use ModifyStyle() This is what I did to change from ascending to descending. myListBoxCtrl.ModifyStyle(LVS_SORTASCENDING, LVS_SORTDESCENDING);
-
Use ModifyStyle() This is what I did to change from ascending to descending. myListBoxCtrl.ModifyStyle(LVS_SORTASCENDING, LVS_SORTDESCENDING);
Cant figure out how to just remove LBS_SORT and nothing else. Dang!
-
Cant figure out how to just remove LBS_SORT and nothing else. Dang!