Reference for C/C++ Developers

This reference contains the following sections:

Interfaces

Topic Contents
DWebBrowserEvents

Designates an event sink interface that an application must implement to receive event notifications from a WebBrowser control or from the Windows Internet Explorer application. Note that not all of the following events are supported by the WebBrowser control.

DWebBrowserEvents2

Designates an event sink interface that an application must implement to receive event notifications from a WebBrowser control or from the Internet Explorer application. Note that not all of the following events are supported by the WebBrowser control.

IDocHostUIHandler

Enables an application that is hosting the WebBrowser Control or automating 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.

IEnumSTATURL

Enumerates the items in the Internet Explorer history.

IUrlHistoryNotify

Remaps the IOleCommandTarget interface.

IUrlHistoryStg

Manages the Internet Explorer history for the current user.

IUrlHistoryStg2

Provides additional features to manage the Internet Explorer history for a user.

IWebBrowser2

Exposes methods that are implemented by the WebBrowser control (Microsoft ActiveX control) or implemented by an instance of the InternetExplorer application (OLE Automation). For the Microsoft .NET Framework version of this control, see WebBrowser Control (Windows Forms).

IWebBrowserEventsService

Exposes methods used to raise WebBrowser navigation events.

IWebBrowserEventsUrlService

Exposes methods used to provide the current URL to fire WebBrowser navigation events.

 

Enumerations

Topic Contents
ADDURL_FLAG

These flags are used by IUrlHistoryStg::AddUrl to indicate where a URL is placed in the history.

BrowserBeforeNavConstants

Contains values used by the DWebBrowserEvents2::BeforeNavigate2 event.

BrowserNavConstants

Contains values used by the IWebBrowser2::Navigate and IWebBrowser2::Navigate2 methods.

CommandStateChangeConstants

Values used by the DWebBrowserEvents2::CommandStateChange event.

NewProcessCauseConstants

Flags passed to the DWebBrowserEvents2::NewProcess event that describe why a new process has been created.

OLECMDID_BROWSERSTATE Flags

Flags used to indicate special browser states.

OLECMDID_OPTICAL_ZOOMFLAG

Flags passed with OLECMDID_OPTICAL_ZOOM command.

OLECMDID_REFRESHFLAG Flags

Contains values that control page reload.

OLECMDIDF_PAGEACTION Flags

Determines the information that appears in the Information bar (gold bar) based on one of the specified actions.

OLECMDIDF_PAGEACTION Flags

Specifies how security alerts are displayed.

READYSTATE

Contains values that indicate what state an object is in.

RefreshConstants

Contains values used with the IWebBrowser2::Refresh2 method.

SecureLockIconConstants

Contains values used by the DWebBrowserEvents2::SetSecureLockIcon event.

 

Constants

Topic Contents
IUrlHistory Flags

The following flags are used by the IUrlHistoryStg::QueryUrl and IEnumSTATURL::SetFilter functions.

NavigateError Event Status Codes

This page lists the possible values for the StatusCode parameter of the DWebBrowserEvents2::NavigateError event handler. These navigation-related error values are extracted from two documents: HTTP Status Codes and URL Moniker Error Codes. Follow the link for the status code you are interested in for a description of its meaning.