tab control
-
Hi all, I'm writing an application to model the effects of different volcanic sources. For every source i put in a dialog box a combo box to select the kind of source and all the control to set the parameters of every kind of source. Selecting the kind of source in the combo box only the meaningful controls for that kind of source are enabled. Acting like that my dialog box takes too much space on the screen, so i need to split the different kinds of source in a tab control. Can i do that without rewriting too much code ? Is there a way to know which tab is selected ? Sorry for the question but i'm a newbie. Thanx in advance, Demsmo16.
-
Hi all, I'm writing an application to model the effects of different volcanic sources. For every source i put in a dialog box a combo box to select the kind of source and all the control to set the parameters of every kind of source. Selecting the kind of source in the combo box only the meaningful controls for that kind of source are enabled. Acting like that my dialog box takes too much space on the screen, so i need to split the different kinds of source in a tab control. Can i do that without rewriting too much code ? Is there a way to know which tab is selected ? Sorry for the question but i'm a newbie. Thanx in advance, Demsmo16.
Hi, You should think about using CPropertyPage and CPropertySheets. Converting from existing dialog resources is quite simple, and theres a good article regarding this on MSDN called Converting Large Dialogs into Property Sheets. Just search for that in Yahoo and you will find the article. Good Luck :)