Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Zorbfish

MFC Tab Control

This topic is 5953 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

I wanted to use a tab control in my dialog box but when I added it through mfc when I execute the prog the tab strip does nothing... Theres not even a tab on it.. Is there some initialization I must do first? Can anyone help or point me to a good tutorial on this subject? Thanks, Zorb

Share this post


Link to post
Share on other sites
Advertisement
Thats a nasty cold you have, should get it looked at.

Anyway, in order to see tabs you need to create them (Microsoft can''t read your mind to see what tabs you want). The simplest way to create and modify a tabcontrol is through the GUI environment, as shown:
(Note, I did this with Visual C++ 5, so some of your menu''s might have extra options)











Share this post


Link to post
Share on other sites
You will still need to add your children dialogs to the tabs.

Your best bet is to go to CodeProject
and check out a few of the tab control examples.

- Alek

[edited by - AlekM on July 3, 2002 8:34:18 PM]

Share this post


Link to post
Share on other sites

  • 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!