共用方式為


CMFCVisualManager::GetButtonExtraBorder

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

virtual CSize GetButtonExtraBorder() const;

Return Value

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

Remarks

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.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart