For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
An interface to the Microsoft HTML parsing and rendering engine.
This class and its members cannot be used in applications that execute in the Windows Runtime.
interface IDocHostUIHandlerDispatch : IDispatch
The links in the following table are to the INet SDK reference topics for the members of the IDocUIHostHandler interface.
|EnableModeless||Called from MSHTML implementation of IOleInPlaceActiveObject::EnableModeless. Also called when MSHTML displays modal UI.|
|FilterDataObject||Called on the host by MSHTML to allow the host to replace MSHTML's data object.|
|GetDropTarget||Called by MSHTML when it is being used as a drop target to allow the host to supply an alternative IDropTarget.|
|GetExternal||Called by MSHTML to obtain the host's IDispatch interface.|
|GetHostInfo||Retrieves the UI capabilities of MSHTML host.|
|GetOptionKeyPath||Returns the registry key under which MSHTML stores user preferences.|
|HideUI||Called when MSHTML removes its menus and toolbars.|
|OnDocWindowActivate||Called from MSHTML implementation of IOleInPlaceActiveObject::OnDocWindowActivate.|
|OnFrameWindowActivate||Called from MSHTML implementation of IOleInPlaceActiveObject::OnFrameWindowActivate.|
|ResizeBorder||Called from MSHTML implementation of IOleInPlaceActiveObject::ResizeBorder.|
|ShowContextMenu||Called from MSHTML to display a context menu.|
|ShowUI||Allows the host to replace MSHTML menus and toolbars.|
|TranslateAccelerator||Called by MSHTML when IOleInPlaceActiveObject::TranslateAccelerator or IOleControlSite::TranslateAccelerator is called.|
|TranslateUrl||Called by MSHTML to allow the host an opportunity to modify the URL to be loaded.|
|UpdateUI||Notifies the host that the command state has changed.|
A host can replace the menus, toolbars, and context menus used by the Microsoft HTML parsing and rendering engine (MSHTML) by implementing this interface.
The definition of this interface is available as IDL or C++, as shown below.
|C++||ATLIFace.h (also included in ATLBase.h)|