Since a lot of BCGControlBar Pro classes were incorporated into MFC (Visual Studio 2008 SP1 or later; please read the full story
here), adapting an application that uses BCGControlBar to MFC or an MFC-based application to BCGControlBar Pro is
a pretty easy task. The table below displays an MFC class name and corresponding BCGControlBar Pro name:
MFC Class
BCGControlBar Class
AFX_GLOBAL_DATA
BCGPGLOBAL_DATA
CAfxDrawState
CBCGPDrawState
CAutoHideDockSite
CBCGPAutoHideDockBar
CBasePane
CBCGPBaseControlBar
CBaseTabbedPane
CBCGPBaseTabbedBar
CContextMenuManager
CBCGPContextMenuManager
CDockablePane
CBCGPDockingControlBar
CDockablePaneAdapter
CBCGPDockingCBWrapper
CDockingManager
CBCGPDockManager
CDockingPanesRow
CBCGPDockBarRow
CDrawingManager
CBCGPDrawManager
CFrameImpl
CBCGPFrameImpl
CFrameWndEx
CBCGPFrameWnd
CGlobalUtils
CBCGPGlobalUtils
CKeyboardManager
CBCGPKeyboardManager
CMDIChildWndEx
CBCGPMDIChildWnd
CMDIFrameWndEx
CBCGPMDIFrameWnd
CMDITabInfo
CBCGPMDITabParams
CMenuImages
CBCGPMenuImages
CMenuTearOffManager
CBCGPTearOffManager
CMFCAutoHideButton
CBCGPAutoHideButton
CMFCBaseTabCtrl
CBCGPBaseTabWnd
CMFCCaptionBar
CBCGPCaptionBar
CMFCCaptionButton
CBCGPCaptionButton
CMFCColorBar
CBCGPColorBar
CMFCColorButton
CBCGPColorButton
CMFCColorDialog
CBCGPColorDialog
CMFCColorMenuButton
CBCGPColorMenuButton
CMFCColorPickerCtrl
CBCGPColorPickerCtrl
CMFCDesktopAlertDialog
CBCGPPopupDlg
CMFCDesktopAlertWnd
CBCGPPopupWindow
CMFCDesktopAlertWndInfo
CBCGPPopupWndParams
CMFCDragFrameImpl
CBCGPDragFrameImpl
CMFCDropDownToolBar
CBCGPDropDownToolBar
CMFCDropDownToolbarButton
CBCGPDropDownToolbarButton
CMFCEditBrowseCtrl
CBCGPEdit
CMFCFontComboBox
CBCGPFontComboBox
CMFCFontInfo
CBCGPFontDesc
CMFCHeaderCtrl
CBCGPHeaderCtrl
CMFCImageEditorDialog
CBCGPImageEditDlg
CMFCKeyMapDialog
CBCGPKeyMapDlg
CMFCLinkCtrl
CBCGPURLLinkButton
CMFCListCtrl
CBCGPListCtrl
CMFCMaskedEdit
CBCGPMaskEdit
CMFCMenuButton
CBCGPMenuButton
CMFCOutlookBar
CBCGPOutlookBar
CMFCOutlookBarPane
CBCGPOutlookBarPane
CMFCOutlookBarTabCtrl
CBCGPOutlookWnd
CMFCPopupMenu
CBCGPPopupMenu
CMFCPopupMenuBar
CBCGPPopupMenuBar
CMFCPropertyGridColorProperty
CBCGPColorProp
CMFCPropertyGridCtrl
CBCGPPropList
CMFCPropertyGridFileProperty
CBCGPFileProp
CMFCPropertyGridFontProperty
CBCGPFontProp
CMFCPropertyGridProperty
CBCGPProp
CMFCPropertyPage
CBCGPPropertyPage
CMFCPropertySheet
CBCGPPropertySheet
CMFCRibbonApplicationButton
CBCGPRibbonMainButton
CMFCRibbonBar
CBCGPRibbonBar
CMFCRibbonBaseElement
CBCGPBaseRibbonElement
CMFCRibbonSeparator
CBCGPRibbonSeparator
CMFCRibbonButton
CBCGPRibbonButton
CMFCRibbonButtonsGroup
CBCGPRibbonButtonsGroup
CMFCRibbonCategory
CBCGPRibbonCategory
CMFCRibbonCheckBox
CBCGPRibbonCheckBox
CMFCRibbonColorButton
CBCGPRibbonColorButton
CMFCRibbonComboBox
CBCGPRibbonComboBox
CMFCRibbonContextCaption
CBCGPRibbonContextCaption
CMFCRibbonCustomizeDialog
CBCGPRibbonCustomize
CMFCRibbonCustomizePropertyPage
CBCGPRibbonCustomizePage
CMFCRibbonEdit
CBCGPRibbonEdit
CMFCRibbonFontComboBox
CBCGPRibbonFontComboBox
CMFCRibbonGallery
CBCGPRibbonPaletteButton
CMFCRibbonGalleryMenuButton
CBCGPRibbonPaletteMenuButton
CMFCRibbonLabel
CBCGPRibbonLabel
CMFCRibbonLinkCtrl
CBCGPRibbonHyperlink
CMFCRibbonMainPanel
CBCGPRibbonMainPanel
CMFCRibbonMiniToolBar
CBCGPRibbonFloaty
CMFCRibbonPanel
CBCGPRibbonPanel
CMFCRibbonProgressBar
CBCGPRibbonProgressBar
CMFCRibbonQuickAccessToolBarDefaultState
CBCGPRibbonQATDefaultState
CMFCRibbonSlider
CBCGPRibbonSlider
CMFCRibbonStatusBar
CBCGPRibbonStatusBar
CMFCRibbonStatusBarPane
CBCGPRibbonStatusBarPane
CMFCRibbonTab
CBCGPRibbonTab
CMFCRibbonUndoButton
CBCGPRibbonUndoButton
CMFCShellListCtrl
CBCGPShellList
CMFCShellTreeCtrl
CBCGPShellTree
CMFCSpinButtonCtrl
CBCGPSpinButtonCtrl
CMFCStatusBar
CBCGPStatusBar
CMFCTasksPane
CBCGPTasksPane
CMFCTasksPaneTask
CBCGPTask
CMFCTasksPaneTaskGroup
CBCGPTasksGroup
CMFCToolBarButton
CBCGPToolbarButton
CMFCToolBarComboBoxButton
CBCGPToolbarComboBoxButton
CMFCToolBarComboBoxEdit
CBCGPComboEdit
CMFCToolBarDateTimeCtrl
CBCGPToolbarDateTimeCtrl
CMFCToolBarEditBoxButton
CBCGPToolbarEditBoxButton
CMFCToolBarFontComboBox
CBCGPToolbarFontCombo
CMFCToolBarFontSizeComboBox
CBCGPToolbarFontSizeCombo
CMFCToolBarImages
CBCGPToolBarImages
CMFCToolBarInfo
CBCGPToolBarParams
CMFCToolBarMenuButton
CBCGPToolbarMenuButton
CMFCToolBarsCustomizeDialog
CBCGPToolbarCustomize
CMFCToolTipCtrl
CBCGPToolTipCtrl
CMFCToolTipInfo
CBCGPToolTipParams
CMFCVisualManager
CBCGPVisualManager
CMFCVisualManagerOfficeXP
CBCGPVisualManagerXP
CMFCVisualManagerOffice2003
CBCGPVisualManager2003
CMFCVisualManagerOffice2007
CBCGPVisualManager2007
CMFCVisualManagerVS2005
CBCGPVisualManagerVS2005
CMFCVisualManagerVS2008
CBCGPVisualManagerVS2008
CMFCVisualManagerWindows
CBCGPWinXPVisualManager
CMFCVisualManagerWindows7
CBCGPVisualManagerScenic
CMFCWindowsManagerDialog
CBCGPWindowsManagerDlg
CMouseManager
CBCGPMouseManager
CMultiPaneFrameWnd
CBCGPMultiMiniFrameWnd
COleIPFrameWndEx
CBCGPOleIPFrameWnd
CPaneContainer
CBCGPBarContainer
CPaneContainerManager
CBCGPBarContainerManager
CPaneDialog
CBCGPDialogBar
CPaneFrameWnd
CBCGPMiniFrameWnd
CRecentDockSiteInfo
CBCGPRecentContainerInfo
CSettingsStore
CBCGPRegistry
CShellManager
CBCGPShellManager
CSmartDockingInfo
CBCGPSmartDockingParams
CSplitterWndEx
CBCGPSplitterWnd
CTabbedPane
CBCGPTabbedControlBar
CTooltipManager
CBCGPTooltipManager
CUserToolsManager
CBCGPUserToolsManager
CVSListBox
CBCGPEditListBox
Some other relationships:
In the table below, you can find frequently used MFC contants, global variables and methods, and corresponding BCGControlBar names.
MFC
BCGControlBar for MFC
AFX_DEFAULT_TOOLBAR_STYLE
dwDefaultToolbarStyle
AFX_CBRS_FLOAT
CBRS_BCGP_FLOAT
AFX_CBRS_AUTOHIDE
CBRS_BCGP_AUTOHIDE
AFX_CBRS_RESIZE
CBRS_BCGP_RESIZE
AFX_WM_CHANGE_ACTIVE_TAB
BCGM_CHANGE_ACTIVE_TAB
AFX_WM_CREATETOOLBAR
BCGM_CREATETOOLBAR
AFX_WM_ON_RIBBON_CUSTOMIZE
BCGM_ON_RIBBON_CUSTOMIZE
AFX_WM_ON_BEFORE_SHOW_RIBBON_ITEM_MENU
BCGM_ON_BEFORE_SHOW_RIBBON_ITEM_MENU
AFX_WM_ON_HIGHLIGHT_RIBBON_LIST_ITEM
BCGM_ON_HIGHLIGHT_RIBBON_LIST_ITEM
AFX_WM_RESETTOOLBAR
BCGM_RESETTOOLBAR
AFX_TOOLTIP_TYPE_ALL
BCGP_TOOLTIP_TYPE_ALL
clrHotLinkNormalText
clrHotLinkText
DT_STANDARD
BCGP_DT_STANDARD
Office2007_LunaBlue
VS2007_LunaBlue
Office2007_ObsidianBlack
VS2007_ObsidianBlack
Office2007_Silver
VS2007_Silver
Office2007_Aqua
VS2007_Aqua
AFXPrintPreview
BCGPPrintPreview
DockPaneLeftOf
DockControlBarLeftOf
EnableAutoHidePanes
EnableAutoHideBars
EnablePaneMenu
EnableControlBarMenu
GetUnderlyingWindow
GetUnderlinedWindow
GetUserToolBarByIndex
GetUserBarByIndex
LoadFromResource
LoadFromVSRibbon
OnDrawPaneCaption
OnDrawControlBarCaption
OnWorkspaceIdle
OnBCGPIdle
SetDockingMode
SetDockMode
SetWindows7Look
SetScenicLook
If you have any problems or questions regarding the application porting, please don't hesitate to contact our support: https://support.bcgsoft.com
Back to the Developer Area