共用方式為


CMFCToolBarButton::Rect

Retrieves the bounding rectangle of the button.

const CRect& Rect() const;

Return Value

A CRect object that contains the bounding rectangle of a button.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart