anish
December 22, 2001, 01:53 am
I've designed the interface to my application in the following manner:
To the left of the application main window are 5 buttons, placed vertically (Button1,Button2 etc). Each button have an associated property sheet.On clicking each button ,it should open its corresponding property sheet within the right hand side of the application window.But the following code displays the property sheet in a new window.
// OnClickButton1 function
// a property sheet is created with two tabbed controls tab1 and tab2
PropertySheet prop1("Option1");
CTab1 Tab1; // CTab1 is derived from PropertyPage
CTab2 Tab2; // CTab2 is derived from PropertyPage
prop1.AddPage(&Tab1);
prop1.AddPage(&Tab2);
prop1.DoModal();
How can i modify the code in such a way that the property sheet opens within the right side of the main window rather than in a new window? ie,the main window should contain the property sheet or the property sheet should not have the titlebar..please help me..
anish
To the left of the application main window are 5 buttons, placed vertically (Button1,Button2 etc). Each button have an associated property sheet.On clicking each button ,it should open its corresponding property sheet within the right hand side of the application window.But the following code displays the property sheet in a new window.
// OnClickButton1 function
// a property sheet is created with two tabbed controls tab1 and tab2
PropertySheet prop1("Option1");
CTab1 Tab1; // CTab1 is derived from PropertyPage
CTab2 Tab2; // CTab2 is derived from PropertyPage
prop1.AddPage(&Tab1);
prop1.AddPage(&Tab2);
prop1.DoModal();
How can i modify the code in such a way that the property sheet opens within the right side of the main window rather than in a new window? ie,the main window should contain the property sheet or the property sheet should not have the titlebar..please help me..
anish