Dela via


CMFCRibbonPanel::FindByID

Retrieves the ribbon element that is identified by the specified command ID.

CMFCRibbonBaseElement* FindByID(
    UINT uiCmdID 
) const;

Parameters

  • [in] uiCmdID
    The command ID of a ribbon element.

Return Value

The ribbon element that is identified by the specified command ID; otherwise NULL if no ribbon element is identified with the specified command ID.

Requirements

Header: afxRibbonPanel.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonPanel Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.