Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.