Retrieves the zero-based index of the specified ribbon panel.
const CMFCRibbonPanel* 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.