Show same dialog twice in nested tab structure

80 Views Asked by At

In a nested tab structure of type CMFCTabCtrl(e.g. CMFCTabCtrl as Tab in parent CMFCTabCtrl), how can I show a parents tab inside the parent tab and a child CMFCTabCtrl tab?

ParentTab1 ParentTab2 ParentTab3 <-- PARENT CMFCTabCtrltabs
ChildTab1 ChildTab2 ParentTab2 <-- ParentTab3/"Child" CMFCTabCtrltabs

My first approach was basically to completely ignore that I have now "2" parents for the dialog displayed inside ParentTab2, but I get into all sort of graphical problems. How would I overcome this need for 2 parents? Can I create some sort of soft copy in order to show ParentTab2 also inside the child CMFCTabCtrl and still keep both views responsible for click events etc.?

0

There are 0 best solutions below