CListBox disable/enable sorting
Posted on 2002-07-15
Hi can anyone show me the code for disable/enable the sorting function for a CListBox at anytime? Also, is it possible to make it sort in ascending sort or descending order?
i've tried these but it's not working.
m_ctlList.ModifyStyleEx(NULL,LBS_SORT); //to enable sorting