Codejock Command Bars Visual C++ MFC

Create Microsoft Office-style toolbars and menus with enhanced docking algorithms.

Published by Codejock Software
Distributed by ComponentSource since 2003


Codejock Command Bars Visual C++ MFC is now only available in Codejock Toolkit Pro.

Codejock Command Bars Visual C++ MFC Releases

Released: Apr 14, 2022

Updates in v20.3.0


  • Added CXTPMDIFrameWndEx.
  • Property exchange schema version has been added to CXTPCommandBars::LoadDesignerBars.
  • Tear-off frames toolbar and menu handling has been improved.


  • Missing extended style data exchange has been added to command bars controls.
  • Turkish translation has been fixed.
  • MDI tear-off interaction with windows list has been fixed.
  • Serialized data incompatibilities have been fixed for CXTPControlPopup and CXTPControlButton.
  • Showing expand icon duplicates has been fixed...

Released: Nov 17, 2021

Updates in v20.2.0


  • CXTPTabClientWnd::CloseAllTearOffFrames added for closing all open tear-off frames.
  • Tear-off frame last item closing behavior has been improved.


  • Tear-off frames reflection in the window list has been fixed.
  • Tear-off MDI tab context menu has been fixed.
  • Highlighted and pressed Quick Access toolbar buttons drawing have been made consistent with the toolbar.
  • Samples and Utilities:
    • All samples: Native Windows theme support has been fixed.
    • CommandBarsDesigner: Error on XCB file opening...

Released: Sep 1, 2021

Updates in v20.1.0


  • Keyboard manager added the ability to lock keyboard input.

Samples and Utilities:

  • Improved DPI support for most samples.


  • MDI tear-off windows docking and undocking achieved without window re-creation.
  • A crash caused by conditional inclusion of other components has been fixed.

Released: Jun 26, 2021

Updates in v20.0.0


  • Added MDI tear-off support.
  • Themes support has been expanded to customize dialogs and pages.

Samples and Utilities:

  • A demonstration of ambient colors using tear-off MDI windows has been added to the GUI_VisualStudio sample.


  • Vector icons sizing issues in the galleries fixed.
  • XTPSetVSState and all command bars paint managers made support new StateColor ambient property.
  • Command bars paint managers destruction's made virtual and potential leaks fixed.
  • Black bar on restoring a...

Released: Sep 7, 2020

Updates in v19.3.0


  • Exception in CXTPEditListBoxToolBar initialization has been fixed.
  • Window size issues after restoring if Ribbon is used have been fixed.

Released: Nov 22, 2019

Updates in v19.1.0


  • Setting control focus fixed.
  • CXTPMiniToolBar high CPU usage while tracking fixed.
  • The size of vector icons in tooltips fixed.

Released: Aug 20, 2019

Updates in v19.0.0


  • Support for Visual Studio 2019.
  • Vector Icons Support - This support is specifically for XAML icons, it's a big step towards seamless and complete DPI support. You are now able to load state specific XAML icons for a desired target width into image managers and take advantage of crisp and scalable icons in CommandBars, RibbonBar, and pretty much everywhere where image managers are used. The icons can be loaded from memory, resources, streams, can be serialized and deserialized just like...

Released: Aug 7, 2018

Updates in v18.5.0


  • Fixed wrong position of triangle symbol in ControlPopup.

Released: May 16, 2018

Updates in v18.4.0


  • Added new features to CXTPPreviewView (PrintPreview) for updating icons in the toolbar and customizing other settings.
  • Added a number of control drawing improvements related to custom font size and DPI scaling.


  • Fixed drawing of CommandBar buttons with custom size and TextBelowIcons property enabled.
  • Custom text and background colors for disabled CommandBars Edit and ComboBox controls fixed.
  • Assertion and some logic mistakes fixed in CXTPPreviewView::SetupScrollbar.
  • Drawing Ribbon...

Released: Feb 1, 2018

Updates in v18.3.0


  • Zero width of CXTPControlComboBox after command bars loading fixed.
  • Colors of checked menu items in Office 2016 themes fixed.
  • Edit control drawing in Office 2013 theme fixed.
  • Fixed scaling custom size of icons in CommandBars/Ribbon (also non square icons).