--- title: "Using CToolBarCtrl | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: - "cpp-windows" ms.tgt_pltfrm: "" ms.topic: "article" f1_keywords: - "CToolBarCtrl" dev_langs: - "C++" helpviewer_keywords: - "CToolBarCtrl class" - "toolbar controls [MFC], creating" ms.assetid: 13cf3753-135b-4a3e-a850-ed30177fcf9d caps.latest.revision: 11 author: "mikeblome" ms.author: "mblome" manager: "ghogen" translation.priority.ht: - "cs-cz" - "de-de" - "es-es" - "fr-fr" - "it-it" - "ja-jp" - "ko-kr" - "pl-pl" - "pt-br" - "ru-ru" - "tr-tr" - "zh-cn" - "zh-tw" --- # Using CToolBarCtrl You can use the toolbar control ([CToolBarCtrl](../mfc/reference/ctoolbarctrl-class.md)) to create a control window containing buttons and optional spaces. Each button in the toolbar control window sends a command message to the parent window as the user chooses it. Typically, the buttons in a toolbar correspond to items in the application's menu, providing an additional and more direct way for the user to access an application's commands. ## What do you want to know more about - [Methods of Creating a Toolbar](../mfc/methods-of-creating-a-toolbar.md) - [Settings for the Toolbar Control](../mfc/settings-for-the-toolbar-control.md) - [Creating a CToolBarCtrl Object](../mfc/creating-a-ctoolbarctrl-object.md) - [Using Image Lists in a Toolbar Control](../mfc/using-image-lists-in-a-toolbar-control.md) - [Using Drop-Down Buttons in a Toolbar Control](../mfc/using-drop-down-buttons-in-a-toolbar-control.md) - [Customizing the Appearance of a Toolbar Control](../mfc/customizing-the-appearance-of-a-toolbar-control.md) ## See Also [Controls](../mfc/controls-mfc.md)