共用方式為


CMFCRibbonContextCaption::GetRightTabX

Retrieves the position of the right-hand edge of the category’s ribbon tab.

int GetRightTabX() const;

Return Value

Returns the right-hand X-value of the enclosing rectangle of the CMFCRibbonCategory object’s ribbon tab, or a value of -1 if the tab is truncated.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonContextCaption Class

Hierarchy Chart