Dela 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

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonPanel Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.