Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the zero-based index of the specified ribbon panel.
int GetPanelIndex(
const CMFCRibbonPanel* pPanel
) const;
Parameters
- [in] pPanel
Pointer to a ribbon panel.
Return Value
Zero-based index of the specified ribbon panel if the method was successful; otherwise -1.
Remarks
Only ribbon panels that are contained in the ribbon category are searched.
Requirements
Header: afxribboncategory.h