CHtmlEditCtrlBase::GetEventSrcElement

检索激发该事件的对象。

HRESULT GetEventSrcElement(
   IHTMLElement ** ppSrcElement 
) const;

参数

  • ppSrcElement
    激发该事件的元素。

返回值

返回在成功的S_OK或在失败时错误HRESULT。

要求

Header: afxhtml.h

请参见

参考

CHtmlEditCtrlBase选件类

IHTMLElement Interface

srcElement Property (IHTMLEventObj)