共用方式為


CMFCRibbonCategory::SetName

Assigns a name and keytip to the ribbon category.

void SetName(
   LPCTSTR lpszName
);

Parameters

  • [in] lpszName
    The name and keytip of the ribbon category.

Remarks

To set the keytip for the ribbon category, append a newline escape sequence followed by the keytip characters to lpszName.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart