CMFCRibbonCategory::FindPanelWithElem

 

Retrieves the ribbon panel that contains the specified ribbon element.

Syntax

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.

Remarks

Requirements

Header: afxribboncategory.h

See Also

CMFCRibbonCategory Class
Hierarchy Chart