IToolbar::DeleteButton
[This is preliminary documentation and subject to change.]
Enables a snap-in to remove a specific toolbar button.
HRESULT DeleteButton(
int nIndex // Position of button to be removed
);
Parameters
-
nIndex
-
[in] Index of the button to be removed from the toolbar.
Return Values
-
S_OK
-
The button was successfully removed.
-
E_UNEXPECTED
-
An unexpected error occurred.
See Also
IToolbar