Link to home
Start Free TrialLog in
Avatar of Catalepsy
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,
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Use a CView object and put CYourListCtrl as a member.
Avatar of Catalepsy
Catalepsy

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
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial