BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarButton::HaveHotBorder ( ) const

Determines whether a button displays the border in selected state or not.

Nonzero if a button displays its border when selected; otherwise 0.

The HaveHotBorder member function is called to determine whether a toolbar button should display the border when selected or not.

The default implementation returns TRUE. You can override this function to customize this behavior.