共用方式為


CMFCRibbonBaseElement::Find

Returns the specified pointer if it points to the current object.

virtual CMFCRibbonBaseElement* Find(
   const CMFCRibbonBaseElement* pElement
);

Parameters

  • [in] pElement
    Pointer to a ribbon element.

Return Value

A pointer to the ribbon element if pElement points to the current object; otherwise NULL.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart