BCGControlBar Pro for MFC
int CBCGPToolBar::GetCount ( ) const

Returns a number of buttons on a toolbar.

Returns
A number of toolbar buttons.