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

Given an index returns a toolbar button.

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.

iIndexSpecifies the index of the button to return.