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

Calculates the maximal button height.

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.