IShellBrowser::SetToolbarItems

[Now Supported on Windows NT]

The SetToolbarItems method can be called by the view to add toolbar items to the Explorer's toolbar.

HRESULT SetToolbarItems(

LPTBBUTTON lpButtons,
// Points to an array of items
UINT nButtons,
// Number of buttons in the array
UINT uFlags
// Specifies button location
);

Parameters

lpButtons

Points to an array of toolbar items.

nButtons

Number of buttons in the lpButtons array.

uFlags

Flags specifying where the toolbar buttons should go.

FCT_ADDTOEND
Add at the right side of the toolbar.
FCT_CONFIGABLE
Not implemented.
FCT_MERGE
Merge the toolbar items instead of replacing all of the buttons with those provided by the view. This is the recommended choice.

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

Remarks

This is the way toolbars are merged into the Explorer's toolbar.

Notes to Callers

See the Common Controls TOOLBAR control for the definition of TBBUTTON.

See Also

IShellBrowser

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database