Share via


Toolbars: Working with the Toolbar Control

OverviewHow Do ISample

This article explains how you can access the object underlying a for greater control over your toolbars. This is an advanced topic.

To access the toolbar common control underlying your CToolBar object

  • Call .

GetToolBarCtrl returns a reference to a object. You can use the reference to call member functions of the toolbar control class.

Caution   While calling CToolBarCtrlGet 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.

What do you want to know more about?

For general information about using Windows common controls, see in the Windows 95 SDK Programmer’s Reference.