BCGControlBar Pro for MFC
CBCGPMultiViewFrameWndabstract

Detailed Description

A class CBCGPMultiViewFrameWnd (derived from CBCGPFrameWnd) implements a multi-view single-document interface (SDI). You have to derive your frame class from CBCGPMultiViewFrameWnd and override GetViewsCollection method (returns CBCGPMultiViewsCollection-derived object which hosts views collection).

+ Inheritance diagram for CBCGPMultiViewFrameWnd:

Public Member Functions

 GetSelectedGroupReturns a zero-based index of the currently selected group.
 
 GetSelectedViewReturns a zero-based index of the currently selected view.
 
 IsNavigateBackAvailableTells whether navigation to the previous view is available.
 
 IsNavigateForwardAvailableTells whether navigation to the next view is available.
 
 IsNavigateUpAvailableTells whether navigation to the parent group is available.
 
 NavigateBackSelect a previous view
 
 NavigateForwardSelect a next view
 
 NavigateUpSelect a parent group
 
 SelectGroupSelect a group.
 
 SelectViewSelect a view.
 
- Public Member Functions inherited from CBCGPFrameWnd
 AddControlBarRegisters a control bar with the docking manager
 
 AddCustomCaptionButtonAdds a custom caption button.
 
 AdjustDockingLayoutRecalculates the layout of docked control bars.
 
 AreFloatingBarsCanBeMaximizedTells whether a maximize button is displayed on the floating control bar caption.
 
 AreFloatingBarsHaveMenuButtonTells whether a menu button is displayed on the floating control bar caption.
 
 ControlBarFromPointGiven a point in screen coordinates returns a docking control bar that contains this point.
 
 ControlBarFromPointGiven a point in screen coordinates returns a docking control bar that contains this point.
 
 DisableThemeCaptionDisables theme caption in Office 2007/2010 mode.
 
 DockControlBarCauses a control bar to be docked to the frame window.
 
 DockControlBarLeftOfDocks one toolbar at the left side of the other toolbar
 
 EnableAutoHideBarsEnables ability to switch control bars to the autohide mode when they're docked at the specified sides of the main frame window.
 
 EnableControlBarMenuEnables or disables automatic handling of "control bar menu".
 
 EnableCustomCaptionButtonEnables or disables a custom caption button.
 
 EnableDockingEnables docking of the toolbars that belongs the frame window.
 
 EnableFloatingBarsMenuButtonSpecifies whether a menu button should be displayed on the floating control bar caption.
 
 EnableFrameCaptionBarEnables or disables the frame caption bar.
 
 EnableFullScreenCloseToolBarEnables or disablesthe full screen "Close" tool bar. By default, this toolbar is visible.
 
 EnableFullScreenMainMenuMakes the main menu visible or invisible in the full screen mode.
 
 EnableFullScreenModeEnables the full screen mode for a frame.
 
 EnableLoadDockStateEnables or disables loading of docking state.
 
 EnableMaximizeFloatingBarsSpecifies whether a maximize button should be displayed on the floating control bar caption.
 
 EnableWindowsNavigatorSpecifies whether Windows Navigator should ne displayed upon pressing Ctrl+Tab or Ctrl+Shift+Tab key combinations.
 
 GetActivePopupReturns a pointer to the currently displayed popup menu.
 
 GetCommandCustomNotificationBadgeSizeCalled by the framework to obtain a custom notification badge size.
 
 GetControlBarGiven a control ID returns a pointer to control bar with the specified ID.
 
 GetDefaultResIdReturns a resource ID from which the frame window was loaded.
 
 GetFrameCaptionBarGets a pointer to the frame caption bar.
 
 GetInputModeGets an input mode.
 
 GetMenuBarReturns a pointer to a menu bar object attached to the frame window.
 
 GetTearOffBarsReturns a list of control bar objects with "tear-off" state.
 
 GetToolbarButtonToolTipTextCalled by the framework when a button's tooltip should be displayed.
 
 InsertControlBarRegisters a control bar with the docking manager inserting the control bar after the specifies control bar.
 
 IsCustomCaptionButtonEnabledTells whether a custom caption button is enabled.
 
 IsFullScreenTells whether the frame window is working in full screen mode.
 
 IsMenuBarAvailableDetermines whether a pointer to menu bar object is not NULL.
 
 IsWindowsNavigatorEnabledTells whether windows Navigator (invoked by Ctrl+Tab) is enabled.
 
 IsWsCaptionStyleTells whether a window with themed non-client area is created with WS_CAPTION style.
 
 OnCloseDockingBarCalled when the user clicks "close" button and a docking bar is about to be hidden.
 
 OnCloseMiniFrameCalled when the user clicks "close" button and a floating mini-frame window is about to be hidden.
 
 OnClosePopupMenuCalled by the framework when an active popup menu is being destroyed.
 
 OnDrawCommandCustomNotificationBadge<summaryCalled by the framework to draw a command custom notification badge.
 
 OnDrawMenuImageCalled by the framework when a menu image is being rendered.
 
 OnDrawMenuLogoCalled by the framework when a CBCGPPopupMenu processes WM_PAINT message.
 
 OnGetRecentFileIconCalled by the framework to obtain the recent file icon.
 
 OnMenuButtonToolHitTestCalled by the framework when a CBCGPToolbarButton object is processing WM_NCHITTEST message.
 
 OnShowControlBarsCalled by the framework to show and hide control bars.
 
 OnShowCustomizePaneCalled by the framework when a QuickCustiomizePane is being activated.
 
 OnShowPopupMenuCalled by the framework when a popup menu is being activated.
 
 OnTearOffMenuCalled by the framework when a menu with tear-off bar is being activated.
 
 RemoveAllCustomCaptionButtonsRemoves all custom caption buttons.
 
 RemoveControlBarFromDockManagerUnregisters a control bar removing it from the docking manager's internal list.
 
 SetDockingBarsIconListSpecify a docking bars (panes) icon list.
 
 SetDockStateRestores the docking layout according to the dock state loaded from the registry.
 
 SetInputModeSets input mode.
 
 SetupToolbarMenuModifies a toolbar object by looking for dummy items and replacing them with user-defined items.
 
 ShowControlBarCall this member function to show or hide the control bar.
 
 ShowFullScreenToggles full screen and regular modes.
 

Protected Member Functions

 GetViewsCollectionReturns a reference to CBCGPMultiViewsCollection-derived class (specifies views collection).