Compartilhar via


CMFCRibbonPanel::HasElement

Indicates whether the ribbon panel contains the specified ribbon element.

BOOL HasElement(
   const CMFCRibbonBaseElement* pElem
) const;

Parameters

  • [in] pElem
    Pointer to a ribbon element.

Return Value

TRUE if the ribbon panel contains the specified ribbon element; otherwise FALSE.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart