MDI Tabbed Groups interface comes to replace regular MDITabs interface that was implemented by the library prior to version 7.20. It allows to create one or more tabbed windows (or tabbed groups) in place of MDI client area. Tabbed windows can be aligned vertically or horizontally and are divided by splitters.
Key features:
- Ability to create one or more tabbed windows dynamically or using the library's API.
- Horizontal or vertical alignment of tabbed windows
- Tabbed windows are divided by splitters. The splitters allow the user to resize tabbed windows
- Ability to drag individual tabs between groups.
- Ability to drag individual tabs and create new groups
- Ability to move tabs or create new groups using context menu
- Ability to save and load layout of tabbed windows
- Option to save and load the list of documents (it also applies to any MDI interface)
- Ability to drag an MDI child outside the paremt frame and create a new top-level frame ("MDI tear-off")
- Its' possible to access individual tabbed groups and modify their parameters.
Please see the source code of BCGPVisualStudioGUIDemo and MDITabsDemo samples for additional info.
How to enable the above features:
- Use CBCGPMDIFrameWnd::EnableMDITabbedGroups in order to enable the MDI Tabbed Groups feature. The second parameter is an instance of CBCGPMDITabParams class. You can fill it or leave as default prior to passing to CBCGPMDIFrameWnd::EnableMDITabbedGroups.
EnableMDITabbedGroups (TRUE, params);
If you need to change any of the above parameters at runtime, you can just fill a
again.