Called by MSHTML after an event has been handled by the MSHTML Editor and any registered edit designers.
HRESULT retVal = object.PostEditorEventNotify(inEvtDispId, pIEventObj);
- inEvtDispId [in]
A DISPID that specifies the event.
- pIEventObj [in]
A pointer to an IHTMLEventObj interface that specifies the event.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This method fires after an event has been completely handled. The event might have been handled by passing through the Editor, MSHTML, and all designer methods, or because of an S_OK return value from a designer method. IHTMLEditDesigner::PostEditorEventNotify cannot be canceled, and its return value is ignored. IHTMLEditDesigner::PostEditorEventNotify ensures that a designer completes its tasks. When multiple edit designers are attached to the Editor at the same time, one designer might interfere with other designers by returning S_OK from one of its IHTMLEditDesigner method calls. IHTMLEditDesigner::PostEditorEventNotify enables a designer to make sure that its work has been completed before the event is over.
The DISPID parameter provides the most efficient way for an IHTMLEditDesigner method to determine what type of event triggered the method call. The DISPID_HTMLELEMENTEVENTS2 identifiers are defined in Mshtmdid.h.