共用方式為


CMFCRibbonBaseElement::SetDescription

Sets the description for the ribbon element.

virtual void SetDescription(
   LPCTSTR lpszText 
);

Parameters

  • [in] lpszText
    The description for the ribbon element.

Remarks

The framework displays the new description either on the status bar, or in the tooltip, or under the menu button.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart