Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm moving an old 1990's MDI program to the next century. I've spent many hours searching and experimenting to achieve one feature I'd like to have.

I know MDI with Tabs, specifically Tab Groups, is the way to go - just like Visual Studio. The links here https://www.codeproject.com/Answers/986898/question-about-mdi-child1 are great, as is the MS MDITabsDemo in the 2008 or 2010 Demo paks.

It all works great for me. My simple question is, how do you move a tab to the desktop and have it create a new Tab Group - just like Visual studio does? I can drag tabs in the MDITabsDemo but I do not get the 5 icons for where to drop the new pane.

In that same demo program the MDI Tabs Options pane can be dragged and the 5 location icons appear. It's like the CChildFrame for the MDI Child doesn't do this.

Thank you for your suggestions, or links to achieve this that I must have missed.

Bill

What I have tried:

In the MDITabsDemo:

1. EnableDocking( CBRS_ALIGN_ANY | CBRS_FLOAT_MULTI ) in the CChildFrame OnCreate as well as the OnCreate for the CMainFrame.

2. Although MDITabsDemo dynamically sets most of the EnableMDITabbedGroups I tried some other variants.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900