Click to See Complete Forum and Search --> : How to make a view over a userdefined treectrl


April 14th, 1999, 07:10 AM
As begining,I derived a TreeCtrl from CTreeCtrl.
How can I generate a view like CTreeView over this TreeCtrl? Can I derived a class from CTreeView? If can ,How to get the TreeCtrl in the Treeview? Thanks!!

Franky Braem
April 14th, 1999, 07:34 AM
see : http://www.codeguru.com/listview/ctrl_vs_view_undoc.shtml
(It's the same for CTreeView).

Or you have to derive a class from CView and make it work with your own CTreeCtrl.