An article reveals the secret! The relationship between MFC and BCGControlBar class

BCGControlBar  ("Business Components Gallery ControlBar") is an MFC extension library that allows you to create a rich set of professionally designed Microsoft Office and Microsoft Visual Studio with fully customized options (ribbon, customizable toolbars, menus, etc.) Application GUI controls, such as charts, calendars, grids, editors, Gantt charts and many other controls.

The BCGControlBar library has more than 500 MFC extension classes that have been fully designed, tested and fully documented. Our components can be easily integrated into your application and save you hundreds of development and debugging time.

BCGControlBar v30.5 official version download

Since many BCGControlBar Pro classes have been merged into MFC (Visual Studio 2008 SP1 or later, please read the full text here: http://www.bcgsoft.com/pressreleases/PR071110.pdf ) so that the BCGControlBar application can adapt to BCGControlBar Pro or MFC-based applications, the following table shows the MFC class name and the corresponding BCGControlBar Pro name:

MFC Class BCGControlBar Class
AFX_GLOBAL_DATA BCGPGLOBAL_DATA
CAfxDrawState CBCGPDrawState
CAutoHideDockSite CBCGPAutoHideDockBar
CBasePane CBCGPBaseControlBar
CBaseTabbedPane CBCGPBaseTabbedBar
CContextMenuManager CBCGPContextMenuManager
CDialogEx CBCGPDialog
CDockablePane CBCGPDockingControlBar
CDockablePaneAdapter CBCGPDockingCBWrapper
CDockingManager CBCGPDockManager
CDockingPanesRow CBCGPDockBarRow
CDockSite CBCGPDockBar
CDrawingManager CBCGPDrawManager
CFrameImpl CBCGPFrameImpl
CFrameWndEx CBCGPFrameWnd
CFormView CBCGPFormView
CGlobalUtils CBCGPGlobalUtils
CKeyboardManager CBCGPKeyboardManager
CMDIChildWndEx CBCGPMDIChildWnd
CMDIFrameWndEx CBCGPMDIFrameWnd
CMDITabInfo CBCGPMDITabParams
CMenuImages CBCGPMenuImages
CMenuTearOffManager CBCGPTearOffManager
CMFCAutoHideButton CBCGPAutoHideButton
CMFCBaseTabCtrl CBCGPBaseTabWnd
CMFCButton CBCGPButton
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
CMFCMenuBar CBCGPMenuBar
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
CMFCReBar CBCGPReBar
CMFCRibbonApplicationButton CBCGPRibbonMainButton
CMFCRibbonBar CBCGPRibbonBar
CMFCRibbonBaseElement CBCGPBaseRibbonElement
CMFCRibbonSeparator CBCGPRibbonSeparator
CMFCRibbonButton CBCGPRibbonButton
CMFCRibbonButtonsGroup CBCGPRibbonButtonsGroup
CMFCRibbonCategory CBCGPRibbonCategory
CMFCRibbonCheckBox CBCGPRibbonCheckBox
CMFCRibbonColorButton CBCGPRibbonColorButton
CMFCRibbonComboBox CBCGPRibbonComboBox
CMFCRibbonContextCaption CBCGPRibbonContextCaption
CMFCRibbonCustomizeDialog CBCGPRibbonCustomize
CMFCRibbonEdit CBCGPRibbonEdit
CMFCRibbonFontComboBox CBCGPRibbonFontComboBox
CMFCRibbonGallery CBCGPRibbonPaletteButton
CMFCRibbonGalleryMenuButton CBCGPRibbonPaletteMenuButton
CMFCRibbonLabel CBCGPRibbonLabel
CMFCRibbonLinkCtrl CBCGPRibbonHyperlink
CMFCRibbonMainPanel CBCGPRibbonMainPanel
CMFCRibbonMiniToolBar CBCGPRibbonFloaty
CMFCRibbonPanel CBCGPRibbonPanel
CMFCRibbonProgressBar CBCGPRibbonProgressBar
CMFCRibbonSlider CBCGPRibbonSlider
CMFCRibbonStatusBar CBCGPRibbonStatusBar
CMFCRibbonStatusBarPane CBCGPRibbonStatusBarPane
CMFCRibbonTab CBCGPRibbonTab
CMFCRibbonUndoButton CBCGPRibbonUndoButton
CMFCShellListCtrl CBCGPShellList
CMFCShellTreeCtrl CBCGPShellTree
CMFCSpinButtonCtrl CBCGPSpinButtonCtrl
CMFCStatusBar CBCGPStatusBar
CMFCTabCtrl CBCGPTabWnd
CMFCTasksPane CBCGPTasksPane
CMFCTasksPaneTask CBCGPTask
CMFCTasksPaneTaskGroup CBCGPTasksGroup
CMFCToolBar CBCGPToolBar
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
CPane CBCGPControlBar
CPaneContainer CBCGPBarContainer
CPaneContainerManager CBCGPBarContainerManager
CPaneDialog CBCGPDialogBar
CPaneDivider CBCGPSlider
CPaneFrameWnd CBCGPMiniFrameWnd
CRecentDockSiteInfo CBCGPRecentContainerInfo
CSettingsStore CBCGPRegistry
CShellManager CBCGPShellManager
CSmartDockingInfo CBCGPSmartDockingParams
CSplitterWndEx CBCGPSplitterWnd
CTabbedPane CBCGPTabbedControlBar
CTabView CBCGPTabView
CTooltipManager CBCGPTooltipManager
CUserTool CBCGPUserTool
CUserToolsManager CBCGPUserToolsManager
CVSListBox CBCGPEditListBox
CWinAppEx CBCGPWinApp

其他一些关系:

在下表中,您可以找到常用的MFC内容、全局变量和方法,以及相应的BCGControlBar名称。

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_RESETTOOLBAR BCGM_RESETTOOLBAR
AFX_TOOLTIP_TYPE_ALL BCGP_TOOLTIP_TYPE_ALL
afxGlobalData globalData
clrHotLinkNormalText clrHotLinkText
DM_SHOW BCGP_DM_SHOW
DT_SMART BCGP_DT_SMART
DT_STANDARD BCGP_DT_STANDARD
Office2007_LunaBlue VS2007_LunaBlue
Office2007_ObsidianBlack VS2007_ObsidianBlack
Office2007_Silver VS2007_Silver
Office2007_Aqua VS2007_Aqua
AFXPrintPreview BCGPPrintPreview
DockPane DockControlBar
DockPaneLeftOf DockControlBarLeftOf
EnableAutoHidePanes EnableAutoHideBars
EnablePaneMenu EnableControlBarMenu
GetCmdMgr BCGPGetCmdMgr
GetPaneStyle GetBarStyle
GetUnderlyingWindow GetUnderlinedWindow
GetUserToolBarByIndex GetUserBarByIndex
LoadFromResource LoadFromVSRibbon
OnDrawPaneCaption OnDrawControlBarCaption
OnWorkspaceIdle OnBCGPIdle
SetDockingMode SetDockMode
SetPaneStyle SetBarStyle
SetWindows7Look SetScenicLook
ShowPane ShowControlBar

如果您对BCGSoft的产品感兴趣,也可直接咨询“在线客服”!


慧都高端UI界面开发

Guess you like

Origin blog.csdn.net/AABBbaby/article/details/108441374