locked
MFC: How to limit the number of mdi tab groups RRS feed

  • Question

  • I have created a MDI application with tabbed group.

    Each time I drag&drop one tab form tab bar to view, it will create new tab group and divide view follow the number of tab groups. But I only want to allow my application create two tab groups.  

    How can I do that ?

    I have done my work by regrouping a new tab group with the tab group related the drag&drop tab.

    But this solution is not good because It make view blink in a little time .

    And now, I try to find a better solution. I know: drag&drop tab to view => create new tab group is default support by MDI Tabbed Group. Any one know how to check and prevent it ?

    (Sorry I don't find the forum category for MFC, so if I submit into wrong category, please help me move to right forum)

    Thanks

    Wednesday, May 13, 2015 8:19 AM