BCGControlBar Pro for MFC
int CBCGPToolBoxPage::GetButtonCount ( ) const
inline

Returns the number of buttons contained in the toolbox page.

Use this function to determine the number of buttons in toolbox page.