IToolbar interface (mmc.h)
The IToolbar interface is used to create new toolbars, to add items to them, to extend the toolbars, and to display the resultant new toolbars. Each toolbar is created on its own band within the control bar.
Inheritance
The IToolbar interface inherits from the IUnknown interface. IToolbar also has these types of members:
Methods
The IToolbar interface has these methods.
IToolbar::AddBitmap Enables a snap-in to add an image to the toolbar. |
IToolbar::AddButtons Enables a snap-in to add an array of buttons to the toolbar. |
IToolbar::DeleteButton Enables a snap-in to remove a specified toolbar button. |
IToolbar::GetButtonState Enables a snap-in to obtain an attribute of a button. |
IToolbar::InsertButton Enables a snap-in to add a single button to the toolbar. |
IToolbar::SetButtonState Enables a snap-in to set an attribute of a button. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |