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.

Inherits CFrameWnd.

Public Member Functions

 AddControlBarRegisters a control bar with the docking manager
 
 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".
 
 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.
 
 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.
 
 IsFullScreenTells whether the frame window is working in full screen mode.
 
 IsMenuBarAvailableDetermines whether a pointer to menu bar object is not NULL.
 
 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.
 
 RemoveControlBarFromDockManagerUnregisters a control bar removing it from the docking manager's internal 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.