Jump to content
  • Advertisement

Archived

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

Logodae

VC++ .NET 2003 TabControl (Solved)

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

So I've created a TabControl in a dialog, and I'm not seeing anything like this. The properties window doesn't have an "Add Tab" link, or a TabPages editor. Really, the only was I can tell that it's actually the TabControl properties is the name: IDC_TAB1 (Tab Control). Which is interesting in and of itself, actually, because the name in their example code for doing this stuff programmatically is tabControl1... Anyone know why this doesn't match up? Or how I can do something useful with what I have... like add or delete tabs, or rename the ones it defaulted to (Tab1 through Tab5), or add controls to them? (No, this doesn't work either, starting from "1) Click the appropriate tab page so that it appears on top." It doesn't.) I'm using Standard, if it matters... though I sincerely hope it doesn't. [edited by - Logodae on June 4, 2004 5:51:29 PM]

Share this post


Link to post
Share on other sites
Advertisement
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsTabControlClassctorTopic.asp

That should be what you want.

However, what language are you using? I write in C++ C# and VB in VS 2003 and the TabControl button is right there on the toold menu.

Share this post


Link to post
Share on other sites
IDC_TAB1?

Doesn''t sound like you''re using WinForms at all. Sounds like you''re using the VC6 resource editor.

------------
- outRider -

Share this post


Link to post
Share on other sites
Mulligan,

I really don''t want to create my interface with code, but thanks for the thought.


outRider,

Well... crap. Um, I mean, thanks. I originally started the project in VC5, and converted when I upgraded. I didn''t even think about that.

Thanks again!

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!