Catalepsy
asked on
CListView with a derived CListCtrl
Hello all:
I've created a CListCtrl derived class that has a lot of functionality. Now I find myself in a situation where it would be handy to use a CListView but I don't want to lose all of what I programmed for the CListCtrl, is there a way to tell the CListView what its list control is? The end result should be a CListView that is using my personal CListCtrl.
Thanks,
I've created a CListCtrl derived class that has a lot of functionality. Now I find myself in a situation where it would be handy to use a CListView but I don't want to lose all of what I programmed for the CListCtrl, is there a way to tell the CListView what its list control is? The end result should be a CListView that is using my personal CListCtrl.
Thanks,
Use a CView object and put CYourListCtrl as a member.
ASKER
I'm trying to avoid that. Although I've created the CView and was doing it that way before, I would prefer to use a CListView and tell it the CListCtrl it owns.
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.