BCGControlBar Pro for MFC
virtual int CBCGPToolBar::CalcMaxButtonHeight ( )
protectedvirtual

Calculates the maximal button height.

Returns
The calculated maximal button height.

The function calculates the maximal button height among all toolbar buttons. The height may vary depending on toolbar docking state, for example.

Override this member function to provide your own calculation in classes derived from CBCGPToolBar.