BCGControlBar Pro for MFC
CBCGPToolbarButton* CBCGPToolBar::GetButton ( int  iIndex) const

Given an index returns a toolbar button.

Returns
A pointer to the toolbar button if success; its is NULL if the button with the specified index does not exist.

Use this function to obtain a pointer to a toolbar's button.

Parameters
iIndexSpecifies the index of the button to return.