Creating Tab ctrl within dialog application
Posted on 1997-09-18
I have a dialog based application that has buttons, edit boxes and static controls on it. This was all developed through the wizard. I would also like to place a tab control along with these other controls. I also used the wizard to place the tab control within the dialog window.
The question is - How do I place controls within the tab control?
I have tied to use the CPropertySheet and CPropertyPage classes, but was not real successful in coordinating these with the tab control that was placed with the wizard.
I have also tried the path without using the CProperty classes. I was able to create several "tabs" within the tab control, but was not successful with placing other controls (ie, buttons, editbox...) within the tab control. I am able to trap on the messages (TCN_SELCHANGE) that are used for the tab control.
Can I use the CPropertyPage class (and the wizard) to create the tab "dialog" layout, or do I have to create/position/manage the controls manually for each tab within the tab control?
Thanks for your help,