Contact Sales

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

Case Studies

Colasoft

Colasoft selected Toolkit Pro with Visual C++ over many...

Expandable RibbonBar

Using the Office 2010 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;