Jump to content
  • Advertisement
Sign in to follow this  

Adding trees to tabs in MFC

This topic is 4905 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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!