Contact Sales

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

Case Studies

Live Chat Inc.

LIVECHAT Software selected Toolkit Pro with Visual C++ over many other...

Custom Status Bar

Command Bars 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();