How can I add/embed a Property sheet in a Property sheet ?
-
I've the following code snippet which adds Property page objects cPropPg1Obj and cPropPg2Obj in the property sheet cPropSheetObj.
CPropertySheet cPropSheetObj;
CPropPg1 cPropPg1Obj;
CPropPg2 cPropPg2Obj;cPropSheetObj.AddPage(&cPropPg1Obj);
cPropSheetObj.AddPage(&cPropPg2Obj);cPropSheetObj.DoModal();
Is there a way where I could add/embed a property sheet (say cPropSheetObj2) as a whole which contains property pages cPropPg3obj and cPropPg4obj in the property sheet cPropSheetObj.
-
I've the following code snippet which adds Property page objects cPropPg1Obj and cPropPg2Obj in the property sheet cPropSheetObj.
CPropertySheet cPropSheetObj;
CPropPg1 cPropPg1Obj;
CPropPg2 cPropPg2Obj;cPropSheetObj.AddPage(&cPropPg1Obj);
cPropSheetObj.AddPage(&cPropPg2Obj);cPropSheetObj.DoModal();
Is there a way where I could add/embed a property sheet (say cPropSheetObj2) as a whole which contains property pages cPropPg3obj and cPropPg4obj in the property sheet cPropSheetObj.
It is a bad idea, because the GUI gets too complicated. X| Yes there is a way. You can implement a tab control in the wanted page and than show some controls/dialog. Or make a sub dialog after a button. Better sort the wanted functionality with an other methology. :-O
Greetings from Germany
-
I've the following code snippet which adds Property page objects cPropPg1Obj and cPropPg2Obj in the property sheet cPropSheetObj.
CPropertySheet cPropSheetObj;
CPropPg1 cPropPg1Obj;
CPropPg2 cPropPg2Obj;cPropSheetObj.AddPage(&cPropPg1Obj);
cPropSheetObj.AddPage(&cPropPg2Obj);cPropSheetObj.DoModal();
Is there a way where I could add/embed a property sheet (say cPropSheetObj2) as a whole which contains property pages cPropPg3obj and cPropPg4obj in the property sheet cPropSheetObj.
Following relevant link could be helpful : http://www.codeguru.com/cpp/controls/propertysheet/article.php/c595/