BCGControlBar Pro for MFC
virtual BOOL CBCGPToolBar::IsButtonExtraSizeAvailable ( ) const
inlinevirtual

Determines whether the toolbar can display buttons with the extra border size.

Returns
Nonzero if the bar can display buttons with the extra border size.

Several skins may require to display buttons with the extra border size. The toolbar object should return TRUE if it is able do display the buttons with the extended borders. A toolbar button will call this member function when it handles CBCGPToolbarButton::OnChangeParentWnd notification and will set its internal extra border size flag accordingly. This internal flag may be retrieved later by calling CBCGPToolbarButton::IsExtraSize.

Override this member function in a CBCGPBaseToolBar - derived class and return TRUE if your bar can display the toolbar buttons with the extra border size and return FALSE otherwise. The default implementation returns TRUE.