BCGControlBar Pro for MFC
CBCGPFrameWnd

Detailed Description

The CBCGPFrameWnd class provides the functionality of a Windows single document interface (SDI) overlapped or pop-up frame window, along with members for managing the window.

You have to derive the main frame window class from CBCGPFrameWnd class to take advantages of the most part of the BCGControlBar Library.

+ Inheritance diagram for CBCGPFrameWnd:

Public Member Functions

 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.
 
 EnableOtherTopLevelFramesEnables or disables other top-level frames.
 
 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.
 
 GetNavigatorViewsListCalled by the framework to fill a Windows Navigator views list.
 
 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.
 
 OnActivateViewFromNavigatorCalled by the framework when user selects an item in the Windows Navigator.
 
 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.
 
 SyncControlBarsStateBetweenFramesSynchronises the control bars state between frames.