共用方式為


CMFCRibbonPanel::GetGalleryRect

Returns a bounding rectangle of a Gallery element.

CRect GetGalleryRect();

Return Value

Size and position of the Gallery element within this panel.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class