Compartilhar via


IDocHostUIHandlerDispatch Interface

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDocHostUIHandlerDispatch Interface.

An interface to the Microsoft HTML parsing and rendering engine.

Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

Syntax

interface IDocHostUIHandlerDispatch : IDispatch

Members

Public Methods

Note

The links in the following table are to the INet SDK reference topics for the members of the IDocUIHostHandler interface. IDocHostUIHandlerDispatch has the same functionality as IDocUIHostHandler, with the difference being that IDocHostUIHandlerDispatch is a dispinterface whereas IDocUIHostHandler is a custom 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.

Remarks

A host can replace the menus, toolbars, and context menus used by the Microsoft HTML parsing and rendering engine (MSHTML) by implementing this interface.

Requirements

The definition of this interface is available as IDL or C++, as shown below.

Definition type File
IDL ATLIFace.idl
C++ ATLIFace.h (also included in ATLBase.h)

See Also

IDocUIHostHandler