共用方式為


CMFCRibbonPanel::SetKeys

Sets the keytip for the default button of the ribbon panel.

void SetKeys(
    LPCTSTR lpszKeys
);

Parameters

  • [in] lpszKeys
    The keytip for the default button of the ribbon panel.

Remarks

The default button is displayed when a ribbon panel has insufficient space to display its ribbon elements.

Requirements

Header: afxRibbonPanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart