BCGControlBar Pro for MFC
CBCGPToolbarButton* CBCGPToolBar::GetHighlightedButton ( ) const

Returns a highlighted toolbar button.

Returns
A pointer to a toolbar button object; it is NULL if there is no button highlighted.

Call this member function to retrieve a button that is currently highlighted.