Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates the maximum height of buttons in the toolbar.
virtual int CalcMaxButtonHeight();
Return Value
The maximum height of buttons.
Remarks
This method calculates the maximum height among all toolbar buttons on the toolbar. The height may vary depending on factors such as the current toolbar docking state.
Override this method in a class derived from CMFCToolBar Class to provide your own height calculation.
Requirements
Header: afxtoolbar.h