Freigeben über


CMFCRibbonBar::FindCategoryIndexByData

Retrieves the index of the ribbon category that contains the specified data.

int FindCategoryIndexByData(
   DWORD dwData 
) const;

Parameters

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

Return Value

The zero-based index of a ribbon category if the method was successful; otherwise -1.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart