BCGControlBar Pro for MFC
void CBCGPWinApp::SetVisualTheme ( BCGP_VISUAL_THEME  theme,
CRuntimeClass *  pRTICustom = NULL 
)

Call this method to change the Visual Theme.

The theme can be one from the following:

  • BCGP_VISUAL_THEME_DEFAULT = 0, // Windows native theme
  • BCGP_VISUAL_THEME_OFFICE_2000,
  • BCGP_VISUAL_THEME_OFFICE_XP,
  • BCGP_VISUAL_THEME_OFFICE_2003,
  • BCGP_VISUAL_THEME_VS_2005,
  • BCGP_VISUAL_THEME_OFFICE_2007_BLUE,
  • BCGP_VISUAL_THEME_OFFICE_2007_BLACK,
  • BCGP_VISUAL_THEME_OFFICE_2007_SILVER,
  • BCGP_VISUAL_THEME_OFFICE_2007_AQUA,
  • BCGP_VISUAL_THEME_CARBON,
  • BCGP_VISUAL_THEME_VS_2008,
  • BCGP_VISUAL_THEME_VS_2010,
  • BCGP_VISUAL_THEME_SCENIC,
  • BCGP_VISUAL_THEME_OFFICE_2010_BLUE,
  • BCGP_VISUAL_THEME_OFFICE_2010_BLACK,
  • BCGP_VISUAL_THEME_OFFICE_2010_SILVER,
  • BCGP_VISUAL_THEME_VS_2012_LIGHT,
  • BCGP_VISUAL_THEME_VS_2012_DARK,
  • BCGP_VISUAL_THEME_VS_2012_BLUE,
  • BCGP_VISUAL_THEME_OFFICE_2013_WHITE,
  • BCGP_VISUAL_THEME_OFFICE_2013_GRAY,
  • BCGP_VISUAL_THEME_OFFICE_2013_DARK_GRAY,
  • BCGP_VISUAL_THEME_VS_2013_LIGHT,
  • BCGP_VISUAL_THEME_VS_2013_DARK,
  • BCGP_VISUAL_THEME_VS_2013_BLUE,
  • BCGP_VISUAL_THEME_OFFICE_2016_COLORFUL,
  • BCGP_VISUAL_THEME_OFFICE_2016_DARK_GRAY,
  • BCGP_VISUAL_THEME_OFFICE_2016_WHITE,
  • BCGP_VISUAL_THEME_OFFICE_2016_BLACK,
  • BCGP_VISUAL_THEME_VS_2019_LIGHT,
  • BCGP_VISUAL_THEME_VS_2019_DARK,
  • BCGP_VISUAL_THEME_VS_2019_BLUE,
  • BCGP_VISUAL_THEME_OFFICE_2019_COLORFUL,
  • BCGP_VISUAL_THEME_OFFICE_2019_DARK_GRAY,
  • BCGP_VISUAL_THEME_OFFICE_2019_WHITE,
  • BCGP_VISUAL_THEME_OFFICE_2019_BLACK,
  • BCGP_VISUAL_THEME_CUSTOM = 9999.
Parameters
themeThe visual theme.
pRTICustom(Optional) Visual theme custom runtime class (should be derived from appropriate runtime class).