Archived

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

Tab Controls

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

Think you may have the right idea - the few times I have created these tab controls it was this was - one dialog box, all controls in it and hide/display those that pertain to the selected tab.
I use Borland as well - and the examples that came with it use this method so i guess there is not an easier way yet.

Share this post


Link to post
Share on other sites
I cant talk for Borland C, or visual C for that mater(I just never use dialogs in VC anymore) but in Visual Basic you have container controls like picture box etc that contain all of your controls and you only need to hide (move it off screen or make it invisible) this container. I guess this is going to be a standrd windows thing, so it might be worth a quic look.

[This message has been edited by STG (edited December 16, 1999).]

Share this post


Link to post
Share on other sites
I want to add an options dialog to my game that uses a tab control to go to different parts of the options (like in the Display Properties window), would it be possible to add all controls, overlapping and everything onto the dialog resource and hide those not being used on a page or is there a better way? I'm using Borland C++ 5 in case you care, but I think this is a general enough question...

Share this post


Link to post
Share on other sites