Sign in to follow this  

Adding trees to tabs in MFC

This topic is 4596 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites

This topic is 4596 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this