IToolbar

[This is preliminary documentation and subject to change.]

The IToolbar interface is used to create new toolbars, to add items to them, to extend them and to display the resultant toolbars. Each toolbar is created on its own band within the control bar.

When to Implement
You do not implement this interface. It is implemented by the node manager in Microsoft Management Console.
When to Use

You use IToolbar whenever your snap-in will be enhanced by the presence of toolbars.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IToolbar Methods Description
AddBitmap Adds an image to the toolbar
AddButtons Adds an array of buttons to the toolbar
InsertButton Adds a single button to the toolbar
DeleteButton Removes a button
GetButtonState Gets an attribute of a button
SetButtonState Sets an attribute of a button