CMFCToolBar::RemoveButton
Visual Studio 2012
Removes from the toolbar the button that has the specified index.
virtual BOOL RemoveButton( int iIndex );
This method updates additional toolbar attributes that are affected by the removal of the button. For example, this method removes nonessential separators from the toolbar and rebuilds the table of shortcut keys.
For more information about the Customize button, see CMFCToolBar::EnableCustomizeButton.