Contact Sales

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

Case Studies

Morpheus

Morpheus Software selected Xtreme Toolkit Professional with Visual C++ over...

Product Image

Command Bars 2014 for Visual C++ MFC

Command Bars for Visual C++ MFC provides Windows developers with comprehensive, fully customizable menus, toolbars, ribbon and MDI tab windows to give your application a professional and modern interface.

Command Bars is included with the Toolkit Pro for Visual C++ evaluation.

Product Features

Codejock Command Bars provides several options to choose from including Office Style Ribbon, Visual Studio and Office Theme Support, Tabbed and Transparent Toolbars, MDI Tab and Gallery Controls, Accelerators / Hot Keys, Load / Save State, full Customization and much more!

Click on any of the links below to start the product feature tour:

Supported Environments

Visual Studio 2013 ( MFC 12.0 )
Visual Studio 2012 ( MFC 11.0 )
Visual Studio 2010 ( MFC 10.0 )
Visual Studio 2008 ( MFC 9.0 )
Visual Studio 2005 ( MFC 8.0 )
Visual Studio 2003 ( MFC 7.1 )
Visual Studio 2002 ( MFC 7.0 )
Visual Studio 6.0

Supported Operating Systems

Windows 8.1 ( x32, x64 )
Windows 8 ( x32, x64 )
Windows 7 ( x32, x64 )
Windows Vista ( x32, x64 )
Windows XP ( x32, x64 )
Windows Server 2012 R2 ( x64 )
Windows Server 2012 ( x64 )
Windows Server 2008 R2 ( x64 )
Windows Server 2008 ( x32, x64 )
Windows Server 2003 ( x32, x64 )
Windows 2000
Windows Me
Windows 98SE
Windows 98
Windows NT 4.0
Windows 95

Minimum Requirements

Visual C++ 6.0
Windows 95 or NT 4.0

Close

Office 2013 Style Ribbon Bar Control

Codejock Software's Xtreme RibbonBar provides Windows developers with the latest Microsoft Office 2013 style Ribbon Bar component. No longer will users need to fumble through confusing and boring menus. Xtreme RibbonBar includes enhanced navigation capabilities by grouping menu and toolbar commands into logical blocks that are arranged in tabular format.

GetCommandBars()->SetTheme(xtpThemeRibbon);

HMODULE hModule = AfxGetInstanceHandle();

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

((CXTPOffice2007Theme*)GetCommandBars()->GetPaintManager())->SetImageHandle(hModule, lpszIniFile);
CommandBars.VisualTheme = xtpThemeRibbon
CommandBarsGlobalSettings.ResourceImages.LoadFromFile App.Path & "\..\..\..\Styles\Office2013.dll", "OFFICE2013WHITE.INI"
XtremeCommandBars.CommandBarsGlobalSettings CommandBarsGlobalSettings;

CommandBarsGlobalSettings = new XtremeCommandBars.CommandBarsGlobalSettings();
CommandBars.VisualTheme = XtremeCommandBars.XTPVisualTheme.xtpThemeRibbon;
CommandBarsGlobalSettings.ResourceImages.LoadFromFile(StylesPath() + "Office2013.dll", "OFFICE2013WHITE.INI");

Office 2013 Style Ribbon Groups

Groups are used to logically organize items in a Ribbon Bar. Group captions make it easy to identify what the items in a group are related to. Just about any type of item can be added to groups in the toolbar.

    CXTPRibbonTab* pTabHome = pRibbonBar->AddTab(ID_TAB_HOME);

    CXTPRibbonGroup* pGroupClipborad = pTabHome->AddGroup(ID_GROUP_CLIPBOARD);
    pGroupClipborad->ShowOptionButton();
    pGroupClipborad->SetIconId(ID_GROUP_BUTTONPOPUP);
    pGroupClipborad->GetControlGroupOption()->SetID(ID_GROUP_CLIPBOARD_OPTION);
    pGroupClipborad->SetControlsCentering();
    
    CXTPControlPopup* pControlPaste = (CXTPControlPopup*)pGroupClipborad->Add(xtpControlSplitButtonPopup, ID_EDIT_PASTE);
    pControlPaste->GetCommandBar()->GetControls()->Add(xtpControlButton, ID_EDIT_PASTE);
    pControlPaste->GetCommandBar()->GetControls()->Add(xtpControlButton, ID_EDIT_PASTE_SPECIAL);
    CXTPControl* pControlCut = pGroupClipborad->Add(xtpControlButton, ID_EDIT_CUT);
    pControlCut->SetKeyboardTip(_T("X"));
    Dim TabWrite As RibbonTab
    Dim GroupClipboard As RibbonGroup
    Dim Control As CommandBarControl
    
    Set TabWrite = RibbonBar.InsertTab(0, "&Home")
    TabWrite.Id = ID_TAB_WRITE
 
    Set GroupClipboard = TabWrite.Groups.AddGroup("&Clipboard", ID_GROUP_CLIPBOARD)
        
    Set ControlPaste = GroupClipboard.Add(xtpControlSplitButtonPopup, ID_EDIT_PASTE, "&Paste")
        Set Control = ControlPaste.CommandBar.Controls.Add(xtpControlButton, ID_EDIT_PASTE, "&Paste")
        Control.ToolTipText = "hello"
        ControlPaste.CommandBar.Controls.Add xtpControlButton, ID_EDIT_PASTE_SPECIAL, "&Paste Special"
    ControlPaste.KeyboardTip = "V"
    Set Control = GroupClipboard.Add(xtpControlButton, ID_EDIT_CUT, "&Cut")
    Control.KeyboardTip = "X"
    TabWrite = RibbonBar.InsertTab(0, "&Home");
    TabWrite.Id = ID.ID_TAB_WRITE;            

    GroupClipboard = TabWrite.Groups.AddGroup("&Clipboard", ID.ID_GROUP_CLIPBOARD);

    ControlPaste = (XtremeCommandBars.CommandBarPopup)GroupClipboard.Add(XtremeCommandBars.XTPControlType.xtpControlSplitButtonPopup, ID.ID_EDIT_PASTE, "&Paste", false, false);
    ControlPaste.CommandBar.Controls.Add(XtremeCommandBars.XTPControlType.xtpControlButton, ID.ID_EDIT_PASTE, "&Paste", false, false);
    ControlPaste.CommandBar.Controls.Add(XtremeCommandBars.XTPControlType.xtpControlButton, ID.ID_EDIT_PASTE_SPECIAL, "&Paste Special", false, false);
    GroupClipboard.Add(XtremeCommandBars.XTPControlType.xtpControlButton, ID.ID_EDIT_CUT, "&Cut", false, false);
    GroupClipboard.Add(XtremeCommandBars.XTPControlType.xtpControlButton, ID.ID_EDIT_COPY, "&Copy", false, false);
    Control = GroupClipboard.Add(XtremeCommandBars.XTPControlType.xtpControlButton, ID.ID_FORMAT_PAINTER, "Format Painter", false, false);
    Control.Enabled = false;
    GroupClipboard.ShowOptionButton = true;
    GroupClipboard.ControlGroupOption.TooltipText = "Show clipboard dialog";
    GroupClipboard.IconId = ID.ID_EDIT_PASTE;

Office 2013 Style Ribbon Group Option Button

Option buttons can be added to a ribbon group's caption. Typically, when an option button is pressed a dialog should be displayed that is related to the controls in the group, but you can perform any action you wish such as displaying a popup menu.

    pGroupClipborad->ShowOptionButton();
    pGroupClipborad->GetControlGroupOption()->SetID(ID_GROUP_CLIPBOARD_OPTION);
    GroupClipboard.ShowOptionButton = true
    GroupClipboard.ControlGroupOption.TooltipText = "Show clipboard dialog"
    GroupClipboard.ShowOptionButton = true;
    GroupClipboard.ControlGroupOption.TooltipText = "Show clipboard dialog";

Office 2013 Style Smart Layout

Advanced smart layout abilities ensure that the Ribbon Bar makes the most efficient use of the available space. Smart layout allows each item to have multiple image sizes. The smart layout will display the largest images when enough room is available and automatically display the smaller icons when space is tight. When space is abundant, large images with item captions are displayed, if space is limited, then only small icons with no captions are displayed. Items are always only a few clicks away, groups with insufficient space are displayed as a popup button which displays the entire group as a popup. Xtreme RibbonBar is always adapting to its environment to provide a perfect fit.

Office 2013 Style Gallery Control

The Office 2013 style gallery control can be used in and toolbar, ribbon group, or popup menu. The gallery control displays a collection of picture or text items that can be scrolled and displayed in your popup menu, standard toolbar, or ribbon group. For example, a gallery can be used to create an Office 2013 font or size popup drop-down menu and popup color selector.

Expandable RibbonBar

Using the Office 2013 style Ribbon Bar you can be expanded or collapsed to save workspace area.

    CXTPControl* pControlExpand = pRibbonBar->GetControls()->Add(xtpControlButton, ID_RIBBON_EXPAND);
    pControlExpand->SetFlags(xtpFlagRightAlign);

    CXTPControl* pControlMinimize = pRibbonBar->GetControls()->Add(xtpControlButton, ID_RIBBON_MINIMIZE);
    pControlMinimize->SetFlags(xtpFlagRightAlign);
    Set Control = AddButton(RibbonBar.Controls, xtpControlButton, ID_RIBBON_MINIMIZE, "Minimize the Ribbon", False, "Show only the tab names on the Ribbon.")
    Control.Flags = xtpFlagRightAlign
    
    Set Control = AddButton(RibbonBar.Controls, xtpControlButton, ID_RIBBON_EXPAND, "Expand the Ribbon", False, "Show the Ribbon so that it is always expanded even after you click a command.")
    Control.Flags = xtpFlagRightAlign
	Control = RibbonBar.Controls.Add(XtremeCommandBars.XTPControlType.xtpControlButton, ID.ID_RIBBON_MINIMIZE, "Minimize the Ribbon", false, false);
	Control.DescriptionText = "Show only the tab names on the Ribbon.";
	Control.Flags = XtremeCommandBars.XTPControlFlags.xtpFlagRightAlign;
	
	Control = RibbonBar.Controls.Add(XtremeCommandBars.XTPControlType.xtpControlButton, ID.ID_RIBBON_EXPAND, "Expand the Ribbon", false, false);
	Control.DescriptionText = "Show the Ribbon so that it is always expanded even after you click a command.";
	Control.Flags = XtremeCommandBars.XTPControlFlags.xtpFlagRightAlign;

Office 2000 Theme Support

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

GetCommandBars()->SetTheme(xtpThemeOffice2000);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOffice2000
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOffice2000;

Office XP Theme Support

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

GetCommandBars()->SetTheme(xtpThemeOfficeXP);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOfficeXP
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOfficeXP;

Office 2003 Theme Support

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

GetCommandBars()->SetTheme(xtpThemeOffice2003);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOffice2003
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOffice2003;

Windows XP Theme Support

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

GetCommandBars()->SetTheme(xtpThemeNativeWinXP);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeNativeWinXP
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeNativeWinXP;

Office 2007 Theme Support

Xtreme CommandBars provides your application with Office 2007 style theme support. Office 2007 style is already built in, so you don't have to spend any extra time on this.

GetCommandBars()->SetTheme(xtpThemeResource);

HMODULE hModule = AfxGetInstanceHandle();

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

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

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

Ribbon Theme Support

Xtreme CommandBars provides your application with Office style Ribbon theme support. This theme uses the Ribbon colors in your menus and toolbars. The Office Ribbon style is already built in, so you don't have to spend any extra time on this.

GetCommandBars()->SetTheme(xtpThemeRibbon);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeRibbon
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeRibbon;

Office 2010 Blue Theme Support

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

GetCommandBars()->SetTheme(xtpThemeResource);

HMODULE hModule = AfxGetInstanceHandle();

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

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

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

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.

GetCommandBars()->SetTheme(xtpThemeResource);

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");

Office 2010 Silver Theme Support

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

GetCommandBars()->SetTheme(xtpThemeResource);

HMODULE hModule = AfxGetInstanceHandle();

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

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

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

Windows 7 Blue Theme Support

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

GetCommandBars()->SetTheme(xtpThemeResource);

HMODULE hModule = AfxGetInstanceHandle();

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

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

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

Visual Studio 2003 Theme Support

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

GetCommandBars()->SetTheme(xtpThemeOfficeXP);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOfficeXP
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOfficeXP;

Visual Studio 2005 Theme Support

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

GetCommandBars()->SetTheme(xtpThemeWhidbey);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeWhidbey
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeWhidbey;

Visual Studio 2008 Theme Support

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

GetCommandBars()->SetTheme(xtpThemeVisualStudio2008);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeVisualStudio2008
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeVisualStudio2008;

Visual Studio 2010 Theme Support

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

GetCommandBars()->SetTheme(xtpThemeVisualStudio2010);
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeVisualStudio2010
CommandBars.VisualTheme = XTPVisualTheme.xtpThemeVisualStudio2010;

Visual Studio 2012 Theme Support

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

GetCommandBars()->SetTheme(xtpThemeVisualStudio2012Light);

Visual Studio 2012 Theme Support

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

GetCommandBars()->SetTheme(xtpThemeVisualStudio2012Dark);

Custom CommandBar Colors

The Xtreme CommandBars provides support for a custom appearance. This allows you to create your own custom colors or choose from several pre-defined themes.

Custom Color Support

Tabular Toolbars

Tabular toolbars eliminate the need for numerous toolbars crowded around an application. Menu items can now be elegantly displayed in a toolbar. The contents of a toolbar can be accessed simply by clicking on its tab. Tabbed toolbars are not only easy to use, but they increase the usable view area.

A Tabbed ToolBar contains all the functionality of standard toolbars. Many toolbars, called categories can be "tabbed" together. Switching between toolbar categories is similar to a TabControl, you can now access all of your toolbar categories simply by clicking on its tab. Normal toolbars can still be used outside of the TabbedToolbar if needed. The TabbedToolbar will also dock just like a normal toolbar.

// Create ToolBar
CXTPTabToolBar* pToolBar = (CXTPTabToolBar*)
    pCommandBars->Add(_T("Standard"), xtpBarTop, RUNTIME_CLASS(CXTPTabToolBar));

pToolBar->SetBarID(IDR_MAINFRAME);

CXTPTabManagerItem* pItem = pToolBar->InsertCategory(0, _T("Standard"), StandardIcons, _countof(StandardIcons));
pItem->SetImageIndex(IDR_MAINFRAME);
pItem = pToolBar->InsertCategory(1, _T("Advanced"), AdvancedIcons, _countof(AdvancedIcons));
pItem->SetImageIndex(IDR_MAINFRAME);
pItem = pToolBar->InsertCategory(2, _T("Other"), OtherIcons, _countof(OtherIcons));
pItem->SetImageIndex(IDR_MAINFRAME);
pItem->SetTooltip(_T("Other icons"));
Dim TabToolBar as XtremeCommandBars.TabToolBar
'Add a Tabbed ToolBar
Set TabToolBar = CommandBars.AddTabToolBar("Standard Tabbed Toolbar");
XtremeCommandBars.TabToolBar TabToolBar;
//Add a Tabbed ToolBar
TabToolBar = CommandBars.AddTabToolBar("Standard Tabbed Toolbar");

Transparent Toolbars

Commandbars supports Windows 7 style "composition"/transparent toolbars.

	pCommandBars->EnableToolbarComposition();
	CommandBars.EnableToolbarComposition True
	CommandBars.EnableToolbarComposition(true);

Shortcuts

Xtreme CommandBars allows you to define keyboard shortcuts for each Command Bar control.  You can create a shortcut from any combination of keys on the keyboard.  Xtreme CommandBars will automatically place the key combination of the shortcut in the menu next to the caption of the control. 

Toggle Accelerator Tips

Xtreme CommandBars allows users to either turn accelerator tips on or turn them off. With the accelerator tips on, the accelerator key/ shortcut key combination will appear over your toolbar button next to the tool tip as you scroll over them with the mouse. If the accelerator tips are off, the accelerator key/ shortcut key combination will not be displayed in the tool tip.

Accelerator/Shortcut tips enabled

Accelerator/Shortcut tips disabled

User Defined Accelerators\Shortcuts

Xtreme CommandBars allows users to create their own custom accelerators/shortcut keys for each control in your application at run-time. This provides users a way of increasing productivity by having all their control a key stroke away.  

Alpha Icon Support

Xtreme CommandBars includes alpha icons support that allows you to use smooth and semi-transparent icons, thus able to blend into the application for a more exact Windows XP look and feel.  Xtreme Command Bar's ImageManager control allows you to easily add alpha icons to your toolbars and menus.

Add, Edit, Copy, Delete and Modify Command Bar Images

The Xtreme CommandBars ActiveX Image Manager control gives you greater control over toolbar and menu image customization by allowing you to add, edit, copy, delete and modify images during design time to give you total control over your Command Bar images.

The Image Manager control is similar to the Microsoft ImageList control, however, the Image Manager is a much more powerful tool.  One of the most noticeable improvements is the Image Manager supports 32-bit Alpha Icons.  When an image is added to the Image Manager, a "disabled" image and a "hot" image are automatically created for you.  You can then individually edit the normal, disabled, and hot images.  Another nice feature is that you can add multiple image sizes for each Command Bar control, for example, you can add 16x16 and 32x32 icons and simply set the LargeIcons property to true to automatically use the larger set of icons.  You can use the SetIconSize Method to switch between image sizes and the Image Manager will automatically load the appropriate size images. 

Hot, Disabled, and Normal Icons

Xtreme CommandBars allows you to easily add a separate icon that is displayed when your menu bar and toolbar controls are in a "normal", "hot", and "disabled" state.  When the mouse pointer is moved over a control, the "hot" icon will be displayed, and if the control is disabled, the "disabled" icon will be used.  Xtreme CommandBars will automatically create a "hot" and "disabled" icon for you, all you have to do is provide the "normal" icon.  You can also add your own custom "hot" and "disabled" icons.  When using the ImageManager control, you can add all three image states using the icon editor user interface at design time.  

Normal

Hot

Disabled

Faded Menu and Toolbar Icons

Xtreme CommandBars shows icons in menus and toolbars as faded until the mouse runs over them, highlighting the icons and showing their true colors and brilliance.

Disabled Menu and Toolbar Icons

Xtreme CommandBars offers disabled menu and toolbar icons so that users can easily distinguish between the commands that can be used at the moment and those that cannot. Disabled menu icons automatically take on a grayed look and are not highlighted on mouseover.

Menu and Toolbar Icon Shadows

Xtreme CommandBars creates a shadow behind menu and toolbar icons when they are mousedover to give the icons the appearance of possessing a 3 dimensional look.

Save and Load Command Bar Layout to System Registry

Xtreme CommandBars allows you to easily save and load your Command Bar layout to and from the system registry.  Only two lines of code are required to load and save your Command Bar layout.  Xtreme CommandBars will save all of your Command Bar customizations. 

Save and Load Command Bar Layout to String

Xtreme CommandBars allows you to easily save and load your Command Bar layout to and from a String.  You have more control over what Command Bar customizations are saved/ loaded when saving/loading the layout to/from a string.  When saving to a string you have the option of saving the customization settings from the Keyboard and Options pages of the Customize dialog, you can save only the layout of the Command Bar that have changed, and you can chose not to save the Command Bar layout.    When loading the Command Bar layout from a string you have the option to restore the controls layout, options layout (Keyboard and Options pages of the Customize dialog), and whether to prompt the user before restoring the layout. 

Some applications have multi user access. It can be useful to store a layout for each user in a personal file instead of the registry.

Add, Edit, Copy, Delete and Modify Command Bar Images

The Xtreme CommandBars ActiveX Image Manager control gives you greater control over toolbar and menu image customization by allowing you to add, edit, copy, delete and modify images during design time to give you total control over your Command Bar images.

The Image Manager control is similar to the Microsoft ImageList control, however, the Image Manager is a much more powerful tool.  One of the most noticeable improvements is the Image Manager supports 32-bit Alpha Icons.  When an image is added to the Image Manager, a "disabled" image and a "hot" image are automatically created for you.  You can then individually edit the normal, disabled, and hot images.  Another nice feature is that you can add multiple image sizes for each Command Bar control, for example, you can add 16x16 and 32x32 icons and simply set the LargeIcons property to true to automatically use the larger set of icons.  You can use the SetIconSize Method to switch between image sizes and the Image Manager will automatically load the appropriate size images. 

Custom Status Bar

Xtreme CommandBars comes with a built-in custom status bar.  You have the ability to add panes to the custom status bar, and can access each individual pane to change the message that is displayed.  The custom status bar will automatically use the current Command Bar theme.  The custom status bar can be used to display other useful information such as Caps Lock, Scroll Lock, and Num Lock just by assigning the correct indicator to the status bar pane.

SetCustomTheme(new CCustomFancyTheme());
    CommandBars.VisualTheme = XTPVisualTheme.xtpThemeOfficeXP
        
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.STDCOLOR_BTNFACE, RGB(107, 125, 145)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_TOOLBAR_FACE, RGB(113, 130, 151)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_SPLITTER_FACE, RGB(113, 130, 151)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_TOOLBAR_GRIPPER, vbWhite
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_SEPARATOR, RGB(107, 125, 145)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_TOOLBAR_TEXT, vbWhite
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_HIGHLIGHT, RGB(160, 170, 180)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_HIGHLIGHT_BORDER, RGB(202, 207, 213)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_HIGHLIGHT_CHECKED, RGB(125, 136, 152)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_HIGHLIGHT_CHECKED_BORDER, RGB(202, 207, 213)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_HIGHLIGHT_PUSHED_BORDER, RGB(105, 111, 119)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_HIGHLIGHT_PUSHED, RGB(116, 127, 141)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_MENUBAR_FACE, RGB(245, 245, 245)
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_MENUBAR_BORDER, 0
    CommandBars.GlobalSettings.ColorManager.SetColor XTPColorManagerColor.XPCOLOR_3DSHADOW, 0
    CommandBars.GlobalSettings.ColorManager.SetColor STDCOLOR_BTNSHADOW, 0
    
    CommandBars.Options.LunaColors = False
    CommandBars.RecalcLayout
public XtremeCommandBars.CommandBarsGlobalSettings CommandBarsGlobalSettings;
public AxXtremeCommandBars.AxCommandBars CommandBars;

CommandBarsGlobalSettings = new XtremeCommandBars.CommandBarsGlobalSettings();

CommandBars.VisualTheme = XtremeCommandBars.XTPVisualTheme.xtpThemeOfficeXP;

CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.STDCOLOR_BTNFACE, (uint)System.Drawing.Color.FromArgb(107, 125, 145).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_TOOLBAR_FACE, (uint)System.Drawing.Color.FromArgb(113, 130, 151).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_SPLITTER_FACE, (uint)System.Drawing.Color.FromArgb(113, 130, 151).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_SEPARATOR, (uint)System.Drawing.Color.FromArgb(107, 125, 145).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_HIGHLIGHT, (uint)System.Drawing.Color.FromArgb(160, 170, 180).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_HIGHLIGHT_BORDER, (uint)System.Drawing.Color.FromArgb(202, 207, 213).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_HIGHLIGHT_CHECKED, (uint)System.Drawing.Color.FromArgb(125, 136, 152).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_HIGHLIGHT_CHECKED_BORDER, (uint)System.Drawing.Color.FromArgb(202, 207, 213).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_HIGHLIGHT_PUSHED_BORDER, (uint)System.Drawing.Color.FromArgb(105, 111, 119).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_HIGHLIGHT_PUSHED, (uint)System.Drawing.Color.FromArgb(116, 127, 141).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_MENUBAR_FACE, (uint)System.Drawing.Color.FromArgb(245, 245, 245).ToArgb());
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_MENUBAR_BORDER, 0);
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.XPCOLOR_3DSHADOW, 0);
CommandBars.GlobalSettings.ColorManager.SetColor (XTPColorManagerColor.STDCOLOR_BTNSHADOW, 0);

CommandBars.Options.LunaColors = false;
CommandBars.RecalcLayout();

Commandbar Actions

Commandbar actions eliminate the need to use the update notification\event to update\change the state and properties of an item that appears multiple places in your menus and toolbars. This also makes it easy to localize all the control with a single line of code.

In the diagram below, the "Menu Item," "Toolbar Item" and "User Customized Item (user created toolbar)" all share the same "Item Action." When you modify the properties of the action it will update all occurences of the item.

Loading a Command Bar from a File

The Xtreme CommandBars Designer Studio allows you to visually create your command bar or ribbon.  The command bar is saved to a file and only one line of code is needed to load the file in your application.  With the Designer Studio, you can easily add/edit/delete accelerators, controls, icons, and toolbars.

Multi-Language Support

Xtreme CommandBars allows you to easily support multiple languages via a single line of code.  Xtreme CommandBars supports up to 32 different languages, including Right-To-Left (RTL) support.

Supported Languages:

 Arabic (Saudi Arabia)
 Czech
 Finnish
 Hebrew
 Swedish
 Thai
 Portuguese (Portugal)
 Chinese (PRC)
 Danish
 French (France)
 Hungarian
 Ukrainian
 Dutch
 Romanian
 Chinese (Taiwan)
 English (US)
 German (Germany)
 Italian (Italy)
 Slovenian
 Spanish
 Croatian
 Estonian
 Greek
 Japanese
 Slovakian
 Russian
 South Korean
 Latvian
 Lithuanian
 Norwegian
 Polish
 Portuguese (Brazil)

Adding Custom Controls

Xtreme CommandBars allows you to easily add your own custom control to your command bar.  For example, you can place a progress bar on your toolbar, or you can display a form when a user clicks on a command bar control

You can easily add a Form control that will be displayed when you click on a command bar control.

Popup Toolbars

Xtreme CommandBars allows you to display a normal popup menu as a popup toolbar.

Dockable Toolbars

Xtreme CommandBars allows you to drag-n-drop your toolbars and dock them to any border of your application or you can have a floating toolbar.

Command Bar MDI Buttons

Xtreme CommandBars allows you to easily add/remove MDI buttons to/from your command bar.  This allows you to control how your MDI Child windows will be resized.

Command Bar Button Styles

Xtreme CommandBars allows you to easily change the button style of your command bar controls. You can allow Xtreme CommandBars to choose the most suitable button style or you can pick your own style.  Depending on the type of command bar control, you can display only the caption, the caption and icon, or just the icon.

Button Caption

Button Caption and Icon

Button Icons

Command Bar Standard Button Control

Xtreme CommandBars allows you to easily add a Control Button control to your command bar. The Control Buttons are automatically themed to match the currently set Command Bar theme.

Control Buttons in a toolbar

Control Buttons in the menu bar

Command Bar Split Button Popup Control

Xtreme CommandBars allows you to easily add a Split Button Popup control to your command bar.  The Split Button Popup control allows you to add a group of controls that will be displayed when the arrow button is clicked.  Once a control is selected from the drop-down list, you can simply click on the button half of the Split Button Popup to execute the code for the selected control.  The Split Button Popup control can also be used to display a tear-off popup or tear-off toolbar.  The Split Button Popup is automatically themed to match the currently set Command Bar theme.

Split Button Popup in "hot" and "selected" state

Command Bar Button Popup Control

Xtreme CommandBars allows you to easily add a Control Button Popup control to your command bar. The Control Button Popup is automatically themed to match the currently set Command Bar theme.

Office 2010 Themed Popup

Command Bar Combobox Control

Xtreme CommandBars allows you to easily add a Combobox control to your command bar. The Combobox control is automatically themed to match the currently set Command Bar theme.

Command Bar Edit Control

Xtreme CommandBars allows you to easily add an Edit box control to your command bar.  The Edit box control is automatically themed to match the currently set Command Bar theme.

Toggle Buttons

Xtreme CommandBars allows offers toggle buttons that users can easily see when commands in your menu and toolbar are "on" or "off".  When a toggle button is clicked, you only need to update the "checked" property of the control.  Controls in you menu bar will have a check mark next to them and toolbar controls will appear in a "selected" state.

MenuBar Toggle Buttons

ToolBar Toggle Buttons

Drag and Drop CommandBar Items

Xtreme CommandBars gives your application the functionality of drag and drop, which allows users to drag any command from a toolbar or menu and drop it into another. Just open the customize dialog and click on the command you want to move, drop it in the place you want it and continue working!

Edit, Copy and Delete Commands

Xtreme CommandBars gives you greater control over toolbar and menu customization by allowing you to edit, copy, delete and modify commands during runtime to give you total control over your application workspace.  Xtreme Command Bar allows you to specify which Command Bar can be customized, this way they user can only customize the Command Bar you allow them to customize.

Xtreme CommandBars supports Command Icon Editing...

Add and Remove Toolbar Commands Dynamically

Xtreme CommandBars provides your application with the ability to add and remove toolbar commands dynamically, ensuring that users have all of the toolbar commands needed, and none that are not wanted. This gives your application the highest functionality with no confusion over the purpose over commands. 

Toolbar Customization

The ‘Toolbar Customization’ feature provides a clean and professional way to customize your workspace. You can easily create new toolbars or modify existing ones with just a few mouse clicks so you can quickly and easily organize your workspace.

Toolbar Customize Dialog

Toolbar During Customization

User Defined Toolbars

Xtreme CommandBars allows users to create their own custom toolbars in your application at run-time. This provides users a way of customizing the look and feel of the application to fit their personal needs.  

User Defined Command Bar Options

Xtreme CommandBars allows users to specify which command bar options they want to use.  Users can specify how the menus are displayed, if large icons are used, menu animation, and accelerator tips in your application at run-time. This allows users to obtain a custom look and feel that best suits them.

Set Icon Size and Toggle Large or Small Toolbar Icons

With Xtreme CommandBars you always have the choice of selecting either small or large toolbar icons. You can easily set the size of the icons that will be used for small and large icons.  Switching between the two can be accomplished with only a few mouse clicks, giving users the satisfaction of controlling the look of the application. With this feature there is no need to worry about running out of space for more icons in using the small icons and there is no need for squinting to determine which icon to use in using the large icons.

Small Icons

Large Icons

Show text below toolbar icons

Xtreme CommandBars allows you to show text below your toolbar icons.  You can set this option for each individual toolbar or for all toolbars.

Toggle Tool Tips

Xtreme CommandBars allows users to either turn tool tips on or turn them off. With the tool tips on, helpful cues will appear over your toolbar button as you scroll over them with the mouse. If the tool tips are off, no such cues will appear on mouseover.

Hide and Show Toolbars

You can use Xtreme CommandBars to allow users to customize their application setup by showing and hiding toolbars. The user has the choice of which toolbars to show and which to hide, with the option of resetting to revert to the default appearance.  When you right click on any command bar, a context menu is automatically displayed listing all of your command bars giving you the option to hide/un-hide or customize them.

Closeable Toolbars

Xtreme CommandBars allows you to specify whether a specific command bar can be closed.  If a command bar is not closeable, you will not be able to close or hide the command bar.  You can use this to make sure that important controls are always displayed.

Xtreme CommandBars supports persistent Toolbars

Xtreme CommandBars supports Closeable Toolbars

Command Bar Gripper

Xtreme CommandBars allows you to easily add/remove grippers to/from your Command Bar. Grippers are a graphical way to indicate to the user that the command bar can be "gripped" and moved or docked to another location.

Menu bar and Toolbar with grippers removed, other toolbars can be moved

Intelligent Menus

Xtreme CommandBars provide you with a simple means of creating your own intelligent menus. You can define a set of commands that stay hidden until the user presses or hovers over the chevron- style button to completely expand the menus.

Menu Animation

Xtreme CommandBars allows you to configure how your menus will be displayed using animation effects. You can easily choose from one of several predefined effects that include Random, Unfold, Slide, Fade and None.

"Unfold" style menu animation

"Fade" style menu animation

Tear-Off Menus and Toolbars

Xtreme CommandBars can give your application a professional look with tear-off menus and toolbars that allow users to easily tear menus and toolbars off and float them in separate windows, providing a workspace that is easy to manipulate to anyone's preferences.

Tear-off popup

Command Bar Control Popup Control

Xtreme CommandBars allows you to easily add a Control Popup control to your command bar.  The Control Popup is automatically themed to match the currently set Command Bar theme.

The menu bar contains themed popup controls

Popup Context Menus

Xtreme CommandBars allows you to show popup context menus anywhere on the screen.  You can display any existing popup menu or command bar as popup menus, or you can create a temporary popup menu that is created and destroyed each time the popup menu is opened and closed.  You can easily show a different popup when you right-click on different components of your application.

Microsoft® Style MDI Tabbed Interface

Xtreme CommandBars gives your Windows application a professional modern appearance with MDI tabs that are similar to many popular Microsoft® products.  An MDI tabbed interface can be included in your application with a single line of code.  You can easily turn on and off this feature via code.  Xtreme CommandBars will automatically use themed tabs that match the currently set Command Bar theme.  For your convenience, you can choose from several pre defined themes or create your own custom look.

.NET Style Tabbed Workspace Groups

Xtreme CommandBars allows you to easily create .NET style tabbed workspace groupings.  You have the ability to group tabs vertically or horizontally within the tab workspace.  Tabs can easily be moved from one group to another by a drag-and-drop or via code.  You can easily add functionality for the user to create a new horizontal/vertical group and move a tab to the previous/next group simply by adding a control in your Command Bar.

Themed MDI Client Backcolor

Xtreme CommandBars will automatically use a themed MDI Client backcolor that matches the currently set Command Bar theme.  You can easily enable/disable themed backcolor.  If enabled, the backcolor of the MDIClient is calculated from current theme, if diabled the Form::BackColor property will be used.

MDI Client with themed backcolor

MDI Client without themed backcolor

Tab Position

Xtreme CommandBars allows you to position the tabs on the top, left, bottom, or right with a single line of code.  You can change the position of the tabs at any time in your program. The picture below has the tabs positioned to the left.

Tab Layout

Xtreme CommandBars allows you to change the layout of your tabs with a single line of code.  The tabs can be in a compressed, fixed, auto size, size to fit layout, multi-row, or rotated. You can change the layout of the tabs at any time in your program. The picture below show multi-row tabs.

Rotated Tab Layout

Xtreme CommandBars allows you to use rotated tabs in the tab workspace.

Tab Appearance Styles

Xtreme CommandBars allows you to easily change the appearance of your tabs. You can choose from several built in appearances such as Excel, MS Office, Flat, Visio, Visual Studio and many more!

Tabs using the Excel appearance with Office 2010 coloring

Tab Color Styles

Xtreme CommandBars allows you to fully customize the appearance of your tabs by applying color styles.  For your convenience, you can choose from several built in color styles such as Office 2010, Windows XP, Visual Studio 2010 and many more!

Tabs using the Visual Studio 2010 coloring and Office 2010 appearance

Tab Margins

Xtreme CommandBars allows you to manipulate the margins of the components that make up the tabs.  You can change the button, header, client, and control margins of the tabs.  The button margin is the area in the tab button surrounding the tab caption, the header margin is the area surrounding the tab buttons, the client margin is the area surrounding the client (area inside the tabs), and the control margin is the area surrounding all of the tabs and tab client area.

Tabs using enlarged button margins

Galleries

The Office style CommandBar Gallery is a control that displays a collection of items that can be scrolled and displayed in a popup menu, such as pictures, font names, etc. CommandBar Gallery objects can be displayed in a standard toolbar, popup menu, combo, push button popup or a Ribbon Bar group.