sigomatix
April 3rd, 2003, 02:54 PM
Hi,
I'm currently using a CListCtrl for my application, thus i would like to sort items when the user click on an column header.
I manage to detect the click action, but i don't know how to retrieve the selected column...the msdn talk about a GetSelectedColumn method in the CListCtrl class, that's cool but when i type the call to this method and i compile i've an:
:\myprog\mator\DialogPlayer.cpp(225) : error C2039: 'GetSelectedColumn' : is not a member of 'CListCtrl'
c:\program files\microsoft visual studio\vc98\mfc\include\afxcmn.h(177) : see declaration of 'CListCtrl'
:( how can i do ?
Thanks for help !
I'm currently using a CListCtrl for my application, thus i would like to sort items when the user click on an column header.
I manage to detect the click action, but i don't know how to retrieve the selected column...the msdn talk about a GetSelectedColumn method in the CListCtrl class, that's cool but when i type the call to this method and i compile i've an:
:\myprog\mator\DialogPlayer.cpp(225) : error C2039: 'GetSelectedColumn' : is not a member of 'CListCtrl'
c:\program files\microsoft visual studio\vc98\mfc\include\afxcmn.h(177) : see declaration of 'CListCtrl'
:( how can i do ?
Thanks for help !