共用方式為


CMFCRibbonBaseElement::GetRect

Returns the bounding rectangle of the ribbon element.

CRect GetRect() const;

Return Value

The bounding rectangle of the ribbon element. The position of the rectangle is in the coordinates of the parent Ribbon control.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart