IHTMLEditHost2 interface
Extends IHTMLEditHost with a method that enables you to intercept drag-and-drop operations at a stage earlier than the HTMLFrameSiteEvents::ondragstart event.
Members
The IHTMLEditHost2 interface inherits from IHTMLEditHost but does not have additional members.
Remarks
See IHTMLEditHost2::PreDrag for a discussion of the specific scenarios that this interface is designed to handle.
IHTMLEditHost2 can be used only on applications hosting the WebBrowser control or MSHTML. When the MSHTML Editor interface is initialized, it automatically calls IServiceProvider::QueryService on the host application to find an IHTMLEditHost2 interface, if there is one. To implement IHTMLEditHost2, you must also implement an IServiceProvider interface on the object hosting the WebBrowser control or MSHTML to provide a pointer to your IHTMLEditHost2 interface. MSHTML calls the IHTMLEditHost2::PreDrag method whenever the user drags an element in the editor.
When you implement IServiceProvider::QueryService, use the SID_SHTMLEditHost service ID and the IID_IHTMLEditHost2 interface ID to identify your IHTMLEditHost2 implementation. These IDs are both defined in Mshtml.h.
Requirements
|
Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
Build date: 11/12/2012