description | title | ms.date | helpviewer_keywords | ms.assetid | ||||
---|---|---|---|---|---|---|---|---|
Learn more about: Working with the Toolbar Control |
Working with the Toolbar Control |
11/04/2016 |
|
b19409d5-3831-42c7-80ae-195c49dc9085 |
This article explains how you can access the CToolBarCtrl object underlying a CToolBar for greater control over your toolbars. This is an advanced topic.
- Call CToolBar::GetToolBarCtrl.
GetToolBarCtrl
returns a reference to a CToolBarCtrl object. You can use the reference to call member functions of the toolbar control class.
Caution
While calling CToolBarCtrl
Get functions is safe, use caution if you call the Set functions. This is an advanced topic. Normally you shouldn't need to access the underlying toolbar control.
-
The CToolBar and CToolBarCtrl classes
For general information about using Windows common controls, see Common Controls.