Reference for C/C++ Developers
This reference contains the following sections:
Interfaces
DWebBrowserEventsDesignates 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.
DWebBrowserEvents2Designates 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.
IDocHostUIHandlerEnables an application that is hosting the WebBrowser Control or automating Internet Explorer to replace the menus, toolbars, and context menus used by MSHTML.
IDocHostUIHandler2Extends IDocHostUIHandler with a method that facilitates Internet Explorer registry changes.
IDocObjectServiceDeprecated. Provides navigation event methods.
IEnumSTATURLEnumerates the items in the Internet Explorer history.
IUrlHistoryNotifyRemaps the IOleCommandTarget interface.
IUrlHistoryStgManages the Internet Explorer history for the current user.
IUrlHistoryStg2Provides additional features to manage the Internet Explorer history for a user.
IWebBrowser2Exposes 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).
IWebBrowserEventsServiceExposes methods used to raise WebBrowser navigation events.
IWebBrowserEventsUrlServiceExposes methods used to provide the current URL to fire WebBrowser navigation events.
Enumerations
ADDURL_FLAGThese flags are used by IUrlHistoryStg::AddUrl to indicate where a URL is placed in the history.
BrowserBeforeNavConstantsContains values used by the DWebBrowserEvents2::BeforeNavigate2 event.
BrowserNavConstantsContains values used by the IWebBrowser2::Navigate and IWebBrowser2::Navigate2 methods.
CommandStateChangeConstantsValues used by the DWebBrowserEvents2::CommandStateChange event.
NewProcessCauseConstantsFlags passed to the DWebBrowserEvents2::NewProcess event that describe why a new process has been created.
OLECMDID_BROWSERSTATE FlagsFlags used to indicate special browser states.
OLECMDID_OPTICAL_ZOOMFLAGFlags passed with OLECMDID_OPTICAL_ZOOM command.
OLECMDID_REFRESHFLAG FlagsContains values that control page reload.
OLECMDIDF_PAGEACTION FlagsDetermines the information that appears in the Information bar (gold bar) based on one of the specified actions.
OLECMDIDF_PAGEACTION FlagsSpecifies how security alerts are displayed.
READYSTATEContains values that indicate what state an object is in.
RefreshConstantsContains values used with the IWebBrowser2::Refresh2 method.
SecureLockIconConstantsContains values used by the DWebBrowserEvents2::SetSecureLockIcon event.
Constants
IUrlHistory FlagsThe following flags are used by the IUrlHistoryStg::QueryUrl and IEnumSTATURL::SetFilter functions.
NavigateError Event Status CodesThis 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.