CMFCRibbonCategory::FindPanelWithElem
Retrieves the ribbon panel that contains the specified ribbon element.
CMFCRibbonPanel* FindPanelWithElem(
const CMFCRibbonBaseElement* pElement
);
Parameters
- [in] pElement
Pointer to a ribbon element.
Return Value
Pointer to a ribbon panel if the method was successful; otherwise NULL.
Requirements
Header: afxribboncategory.h