次の方法で共有


CHtmlEditCtrlBase::GetEventSrcElement

Retrieves the object that fired the event.

HRESULT GetEventSrcElement( 
   IHTMLElement ** ppSrcElement  
) const;

Parameters

  • ppSrcElement
    The element that fired the event.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

IHTMLElement Interface

srcElement Property (IHTMLEventObj)