|
virtual |
Removes existing buttons from a toolbar and inserts a collection of new buttons.
This member function can be used to remove existing buttons (if any) from a toolbar and insert a collection of new buttons, specified by the lpIDArray array of button's command IDs.
The SetButtons function automatically reinserts the "Customize" button (see EnableCustomizeButton()) and sends BCGM_RESETTOOLBAR message to the toolbar's parent window.
lpIDArray | A pointer to array of command IDs of the buttons to insert. |
nIDCount | A pointer to array of command IDs of the buttons to insert. |
bRemapImages | Specifies whether to remap the images of the inserted buttons. |