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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a dialog box

Status
Not open for further replies.

phe2

Technical User
Apr 11, 2002
6
0
0
FR
I have created a tab control with one dialog box(IDD_BOX) and two Class :
CPort1->Property.h, Property.cpp->CPropertyPage
CPort2->Property.h, Property.cpp->CPropertyPage
CFontSheet->Property.h, Property.cpp->CPropertySheet
CPort1 m_pPort1;
CPort2 m_pPort2;
AddPage(&m_pPort1);
AddPage(&m_pPort2);
I would like to create one dialog box with one Class but with two tabs :
CPort1->Property.h, Property.cpp->CPropertyPage
CFontSheet->Property.h, Property.cpp->CPropertySheet
CPort1 m_pPort1;
CPort1 m_pPort2;
AddPage(&m_pPort1);
AddPage(&m_pPort2);
When I clicked on the first tab(m_pPort1),I will like to open the dialog box corresponding.
Thank's

 
Hi again,

If you remove the pProps->SetWizardMode() ; line from the code in answer to your previous post you might get what you want. By removing this line the Back and Next buttons are removed and a Tabbed Dialog is displayed along with an Apply button. Is this what you want?


William
Software Engineer
ICQ No. 56047340
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top