Contact Sales

Call center available M-F 9:00 - 4:00 US Eastern Time.

Case Studies

Datasoft Solutions

Datasoft Solutions selected Xtreme Toolkit Professional with Visual C++ over many...

Office 2010 Black Theme Support

Xtreme CommandBars provides your application with full Office 2010 Black theme support that gives your application the closest, most exact Office 2010 Black style themes of any 3rd party tool available today. Office 2010 Black is already built in, so you don't have to spend any extra time on this.


HMODULE hModule = AfxGetInstanceHandle();

LPCTSTR lpszIniFile = 0;
hModule = LoadLibrary(m_csStylesPath + _T("Office2010.dll"));
lpszIniFile = _T("OFFICE2010BLACK.INI"); 

((CXTPOffice2007Theme*)GetCommandBars()->GetPaintManager())->SetImageHandle(hModule, lpszIniFile);
CommandBars.VisualTheme = xtpThemeResource
CommandBarsGlobalSettings.ResourceImages.LoadFromFile App.Path & "\..\..\..\Styles\Office2010.dll", "Office2010Black.ini"
XtremeCommandBars.CommandBarsGlobalSettings CommandBarsGlobalSettings;

CommandBarsGlobalSettings = new XtremeCommandBars.CommandBarsGlobalSettings();
CommandBars.VisualTheme = XtremeCommandBars.XTPVisualTheme.xtpThemeResource;
CommandBarsGlobalSettings.ResourceImages.LoadFromFile(StylesPath() + "Office2010.dll", "Office2010Black.ini");