共用方式為


CMFCRibbonUndoButton::AddUndoAction

Adds a new action to the list of actions.

void AddUndoAction(
   LPCTSTR lpszLabel 
);

Parameters

  • [in] lpszLabel
    The action label that will be displayed in the drop-down list.

Requirements

Header: afxribbonundobutton.h

See Also

Reference

CMFCRibbonUndoButton Class

Hierarchy Chart