共用方式為


CMFCRibbonBaseElement::SetID

Sets the command ID of the ribbon element.

virtual void SetID(
   UINT nID 
);

Parameters

  • [in] nID
    The command ID.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart