BCGControlBar Pro for MFC
CBCGPVisualManager2022

Detailed Description

CBCGPVisualManager2022 is responsible for giving an application Microsoft Office 2021/2022 look and feel.

To enable this visual manager just call

CBCGPVisualManager::SetDefaultManager(RUNTIME_CLASS(CBCGPVisualManager2022));

Or, if you application class is derived from CBCGPWinApp,

theApp.SetVisualTheme(CBCGPWinApp::BCGP_VISUAL_THEME_OFFICE_2022_*);

+ Inheritance diagram for CBCGPVisualManager2022:

Additional Inherited Members

- Public Member Functions inherited from CBCGPVisualManager
 DrawGanttChartBackgroundCalled by the framework to draw Gantt Chart background.
 
 DrawGanttHeaderTextCalled by the framework to draw text in a Gantt control header cell.
 
 DrawGanttItemBackgroundCellCalled by the framework to fill background of a Gantt cell.
 
 GetEditCtrlSelectionBkColorReturns background color of Advanced Edit control selection.
 
 GetEditCtrlSelectionTextColorReturns foreground color of Advanced Edit control selection.
 
 GetMainButtonColorReturns color of main Ribbon button (pearl).
 
 GetMenuShadowDepthReturns a value that determines what is the width and height of the menu shadow.
 
 GetPopupMenuBorderSizeReturns border size for popup menus.
 
 GetURLLinkColorReturns a text color of URL link to be used by CBCGPURLLinkButton
 
 IsEmbossDisabledImageDetermines whether disabled images should be embossed.
 
 IsFadeInactiveImageDetermines whether toolbar/menu inactive images are drawn with the lighting (fading) effect.
 
 IsLook2000Tells whether the application's GUI elements have Microsoft Office 2000 look and feel.
 
 IsMenuFlatLookTells whether the menu buttons have the flat look (menu buttons don't look pressed).
 
 IsOfficeXPStyleMenusTells whether the visual manager uses displays OfficeXP-style menus.
 
 IsShadowHighlightedImageDetermines whether the shadow should be displayed when rendering highlighted images.
 
 OnDrawAppBarCaptionDraws application bar caption.
 
 OnDrawDlgSizeBoxCalled by the framework to draw size box on resizable dialogs.
 
 OnDrawPropSheetListItemCalled by the framework do draw an item displayed on the list located at the left side of property sheet working in PropSheetLook_List mode.
 
 OnDrawRibbonCaptionCalled by the framework to draw caption of main frame when ribbon bar is integrated with the frame.
 
 OnDrawRibbonLabelCalled by the framework to draw ribbon label.
 
 OnDrawRibbonMainPanelButtonBorderCalled by the framework to draw border of ribbon button located on the main panel.
 
 OnDrawRibbonMainPanelFrameCalled by the framework to draw frame around main panel.
 
 OnDrawRibbonPanelCaptionCalled by the framework to draw ribbon panel's caption.
 
 OnDrawSpinButtonsCalled by the framework to draw spin buttons.
 
 OnDrawTabCloseButtonCalled by the framework when it needs to draw the close button on active tab.
 
 OnFillHeaderCtrlBackgroundCalled by the framework when it needs to fill the background of a header control.
 
 OnFillRibbonMainPanelButtonCalled by the framework to fill interior of ribbon button located on the main panel.
 
 OnFillSplitterBackgroundCalled by the framework when it needs to fill background of a split window.
 
 SetEmbossDisabledImageEnables or disables the "embossed" mode for disabled toolbar images .
 
 SetFadeInactiveImageEnables or disables the lighting (fading) effect for toolbar/menu inactive (non-highlighted) images.
 
 SetLook2000Sets a flag indicating whether the application GUI elements have Microsoft Office 2000 look and feel.
 
 SetMainButtonColorSets color of main Ribbon button (pearl).
 
 SetMenuFlatLookSets a flag indicating whether the application menu buttons have the flat look.
 
 SetMenuShadowDepthSets the width and height of the menu shadow.
 
 SetShadowHighlightedImageSets a flag that indicates whether to display the shadow when rendering highlighted images.
 
- Static Public Member Functions inherited from CBCGPVisualManagerVS2012
 SetAccentColorSets an accent color to one of predefined colors.
 
 SetAccentColorRGBSets an accent color to a user-defined color.
 
 SetFrameColorSpecifies the non-client area custom colors.
 
 SetStateColorSets a current state color (predefined).
 
 SetStateColorRGBSets a current state color (custom).
 
- Static Public Member Functions inherited from CBCGPVisualManager2003
 IsDefaultWinXPColorsEnabledTells whether the Visual Manager uses native WindowsXP theme colors or colors obtained from GetSysColor.
 
 IsUseGlobalThemeTells whether a global Windows theme is used.
 
 SetDefaultWinXPColorsSpecifies whether to use native WindowsXP theme colors or colors obtained from GetSysColor.
 
 SetUseGlobalThemeEnables or disables using of Windows global theme.
 
- Static Public Member Functions inherited from CBCGPVisualManager
 GetInstanceReturns a pointer to the visual manager object.
 
 RedrawAllForces all control bars in the application to be redrawn.
 
 SetDefaultManagerSets the default visual manager.
 
- Static Public Attributes inherited from CBCGPVisualManagerVS2012
 m_bAutoGrayscaleImagesControls how the Visual Manager implementing Microsoft Visual Studio 2012 theme handles images.
 
 m_bThinSliderSpecifies whether the slider (docking pane divider) should be thin (1-pixel) or not.