Share via


CMFCRibbonPanel::FindByData

Retrieves the ribbon element that is associated with the specified data.

CMFCRibbonBaseElement* FindByData(
   DWORD_PTR dwData
) const;

Parameters

  • [in] dwData
    The data associated with a ribbon element.

Return Value

Pointer to a ribbon element if the method was successful; otherwise NULL.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart