游戏授权,APP授权,一手资源,专业团队 qq群698886111

MFC和BCGControlBar类之间的关系

由于许多BCGControlBar Pro类被合并到MFC(visualstudio2008sp1或更高版本)中,请在这里阅读全文:http://www.bcgsoft.com/pressreleases/PR071110.pdf),将使用BCGControlBar的应用程序调整到MFC或基于MFC的应用程序适应BCGControlBar Pro是一项非常简单的任务。下表显示了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

如果您对应用程序移植有任何问题,请随时联系我们的支持人员:http://www.bcgsoft.com/support.htm

转载请注明出处:易学院,违规转载法律必究。

0
广告位招租

评论0

请先

广告位招租
易学手机界面分析工具上线!可用于安卓手机界面,模拟器界面分析,加速自动化开发!查看详情
没有账号? 注册  忘记密码?

社交账号快速登录

微信扫一扫关注
如已关注,请回复“登录”二字获取验证码
'); })();