The framework calls this method when it draws a toolbar button.

virtual CSize GetButtonExtraBorder() const;

A CSize object that contains the extra size of the border for toolbar buttons.

Some skins have to extend the borders of toolbar buttons. Override this method in a custom visual manager to extend the borders of toolbar buttons in your application. The default implementation of this method returns an empty size.

Header: afxvisualmanager.h

Community Additions