IConsole::SetToolbar

[This is preliminary documentation and subject to change.]

Sets the toolbar interface to be used for this instance of IComponent. You should note that this is used only by instances of IComponent.

HRESULT SetToolbar(
  LPTOOLBAR pToolbar  // Pointer to the IToolbar interface
);
 

Parameter

pToolbar
[in] Pointer to the IToolbar interface.

Return Values

S_OK
The toolbar was successfully set.
E_UNEXPECTED
An unexpected error occurred.

See Also

IConsole, IToolbar