I need your help !
you may think my question is very strange, but I have to solve this because my client stick to this feature.
my situation is, I have a CListCtrl in my dialog,and list items with checkbox. the feature of the CListCtrl need to satisfy following:
1) when click and select an item, only this item must be checked and selected.
2) when check on the checkbox of an item, this item must be checked and selected, other selected item must be turn to unselected state.
3) when uncheck on the checkbox of an item, this item must be unchecked and unselected.
I finished 1), but I have problem to do 2) &3), I tried use OnItemChangedListCtrl to check the status and then try to make the item selected/unselected. but I failed.
Can somebody kindly tell me the possible solution? please tell me if I had use the event-handle and also how to make a selected item to unselected state.
Thank you very much !
-- pigangel with big headache