Udostępnij za pośrednictwem


CMFCCustomizeButton::GetExtraSize

Retrieves the extra size of the button.

CSize GetExtraSize() const;

Return Value

A CSize object that contains the extra size of the button.

Remarks

This method is called by the framework for skins that require extra size for the borders of toolbar buttons (for example, round buttons).

This method returns zero size if the background of the button is owner-drawn (the CMFCCustomizeButton::IsPipeStyle method returns FALSE).

Requirements

Header: afxcustomizebutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCCustomizeButton Class

CMFCCustomizeButton::SetExtraSize