文档彩票走势图>>BCGControlBar使用教程>>一篇文章揭秘!MFC和BCGControlBar类之间的关系
一篇文章揭秘!MFC和BCGControlBar类之间的关系
BCGControlBar ("Business Components Gallery ControlBar")是MFC扩展库,使您可以创建具有完全自定义选项(功能区、可自定义工具栏、菜单等)以及一组专业设计的丰富Microsoft Office和Microsoft Visual Studio的应用程序 GUI控件,例如图表、日历、网格、编辑器、甘特图和许多其他控件。
BCGControlBar库拥有500多个经过全面设计、测试和充分记录的MFC扩展类。 我们的组件可以轻松地集成到您的应用程序中,并为您节省数百个开发和调试时间。
由于许多BCGControlBar Pro类已合并到MFC(Visual Studio 2008 SP1或更高版本中,请在此处阅读全文:),以便BCGControlBar应用程序适应BCGControlBar Pro或基于MFC的应用程序,下表展示了MFC类名称和相应的BCGControlBar Pro名称:
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的产品感兴趣,也可直接咨询“”!
现购买BCGSoft正版授权最高直降万元,欢迎点击了解产品正版授权>>