BCGControlBar Pro for MFC
virtual int CBCGPToolBar::InsertButton ( const CBCGPToolbarButton button,
INT_PTR  iInsertAt = -1 

Inserts a button into list of toolbar buttons.

Position at which the button was inserted. It is -1 if some error occurs.

Call this function to insert a toolbar button at the specified by iInsertAt position. If iInsertAt is -1, the button is added at the end of the list of toolbar buttons.

buttonSpecifies the button to insert.
iInsertAtSpecifies the position to insert the button at.