共用方式為


CHtmlEditCtrlBase::GetEvent

Retrieves an interface pointer to the event object that contains information relevant to the most recent event.

HRESULT GetEvent(
   IHTMLEventObj ** ppEventObj 
) const;

Parameters

  • ppEventObj
    The event object.

Return Value

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

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members

IHTMLEventObj Interface

event Property (IHTMLWindow2)