Adding trees to tabs in MFC
Hi everyone, I am trying to add Trees (CTreeCtrl) controls to Tab boxes (CTabCtrl) in MFC (Visual C++ 6.0). I created a dialog box and put a tab control on it, but it wouldn't let me put a tree on it. So then I initiated the tab and added 4 tabs to it. Now I'm trying to figure out how to add a tree control to one of the tabs. I created a variable of type CTreeCtrl and tried to assign its parent to the tab, but that didn't work.
Does anyone know how I can make this work?
Brain21.
the MFC CTabCtrl is an odd creature, there is however and excellent tutorial
available here: http://www.codersource.net/mfc_ctabctrl.html
Hope that helps, sorry I wasn't more specific. I'll try come back when i have
more free time.
Cheers
-Danu
available here: http://www.codersource.net/mfc_ctabctrl.html
Hope that helps, sorry I wasn't more specific. I'll try come back when i have
more free time.
Cheers
-Danu
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement