Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CMFCRibbonCategory::GetPanelIndex
Collapse the table of content
Expand the table of content

CMFCRibbonCategory::GetPanelIndex

Retrieves the zero-based index of the specified ribbon panel.

int GetPanelIndex(
   const CMFCRibbonPanel* pPanel 
) const;

[in] pPanel

Pointer to a ribbon panel.

Zero-based index of the specified ribbon panel if the method was successful; otherwise -1.

Only ribbon panels that are contained in the ribbon category are searched.

Header: afxribboncategory.h

Show:
© 2015 Microsoft