Share via


Advanced Hosting Reference

This document describes the interfaces, methods, structures, and enumerated types used for customizing the behavior of MSHTML objects. For a more general overview of MSHTML's hosting and extensibility mechanisms, see Reusing MSHTML.

Interfaces

Topic Contents
ICustomDoc

Enables a host to set the MSHTML IDocHostUIHandler interface.

IDocHostShowUI

Supplies a mechanism to display message boxes and Help.

IDocHostUIHandler

Enables an application that is hosting the WebBrowser Control or automating Windows Internet Explorer to replace the menus, toolbars, and context menus used by MSHTML.

IDocHostUIHandler2

Extends IDocHostUIHandler with a method that facilitates Internet Explorer registry changes.

IDocObjectService

Deprecated. Provides navigation event methods.

IDownloadManager

Provides access to the method of a custom download manager object that Internet Explorer and WebBrowser applications use to download a file.

IHostDialogHelper

Provides a method to create a trusted, modal dialog box that displays HTML.

IHTMLOMWindowServices

Enables applications that are hosting the WebBrowser Control to intercept the window object calls for manipulating the host window coordinates from Dynamic HTML (DHTML) script.

IProtectFocus

Provides a method that queries for permission to grab the focus.

IZoomEvents

Provides a method that notifies hosts of changes in the zoom state.

 

Enumerations

Topic Contents
ACREDIR_REDIRECT_TYPE

Type of redirection being performed when a callback is invoked.

DOCHOSTUIDBLCLK

Defines values used to indicate the proper action on a double-click event.

DOCHOSTUIFLAG

Defines a set of flags that indicate the capabilities of an IDocHostUIHandler implementation.

DOCHOSTUITYPE

Defines values that indicate the type of user interface.

 

Structures

Topic Contents
DOCHOSTUIINFO

Used by the IDocHostUIHandler::GetHostInfo method to allow MSHTML to retrieve information about the host's UI requirements.