共用方式為


CMFCRibbonBaseElement::GetID

Returns the command ID of the ribbon element.

UINT GetID() const;

Return Value

The command ID of the ribbon element.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart