Partager 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

Reference

CMFCRibbonPanel Class

Hierarchy Chart