共用方式為


CMFCToolBarButton::GetTextSize

Retrieves the size of the button text.

SIZE GetTextSize() const;

Return Value

A SIZE object that contains the size, in pixels, of the button text.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart