共用方式為


CMFCRibbonBaseElement::SetRect

Sets the dimensions of the display rectangle for the ribbon element.

void SetRect(
   CRect rect
);

Parameters

  • [in] rect
    The dimensions of the rectangle.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart