Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Control

Status
Not open for further replies.

ceodav

Programmer
Feb 21, 2003
106
IT
Hi,

i want to use in a dialog (VC++ 6) a Tab Control eith 3 tabs. Each of these must incluse a lot of CEdit to set the parameters...but i've never used the tab control and i don't know where starting.

I found examples in internet but most of them have property classes writtne by the authors with a lot of features. What i'm looking for is something simple so i can understand how to use the tab control and maybe in the feature implement mine features.

So, anyone could suggest me how to proceed?

At the moment i create i dialog (main) with the tab control and then i create 3 othres dialog that should be attached into the tabs.

Is this the right way?

if yes how to attach the dialog to the tabs?

thanks

Davide
 
>What i'm looking for is something simple so i can understand how to use the tab control and maybe in the feature implement mine features.

Well, if you want separate dialogs in the various tabs using CProperySheets and CPropertyPages is the easiest way.


If you use CTabCtrl you get just that: A "dumb" ctrl with some tabs where you'd "manually" have to add content to the different tabs.


/Per

www.perfnurt.se
 
you may want to look into Propertypages and propertysheets, I always preffered these to tab controls.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top