IToolbar::AddButtons
[This is preliminary documentation and subject to change.]
Enables a snap-in to add an array of buttons to the toolbar.
HRESULT AddButtons(
int nButtons, // Number of buttons
LPMMCBUTTON lpButtons // Pointer to an MMCBUTTON structure
);
Parameters
-
nButtons
-
[in] Number of buttons in the array.
-
lpButtons
-
[in] Pointer to the MMCBUTTON structure containing information necessary to create a button on the toolbar.
Return Values
-
S_OK
-
The buttons were successfully added.
See Also
IToolbar