DWebBrowserEvents interface

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.

Members

The DWebBrowserEvents interface inherits from the IDispatch interface. DWebBrowserEvents also has these types of members:

  • Events

Events

The DWebBrowserEvents interface has these events.

Event Description
BeforeNavigate

Fires before navigation occurs in the given object (on either a window or frameset element).

CommandStateChange

Fires when the enabled state of a command changes.

DownloadBegin

Fires when a navigation operation begins.

DownloadComplete

Fires when a navigation operation finishes, is halted, or fails.

NavigateComplete

Fires after a navigation to a link is completed on either a window element or a frameSet element.

NewWindow

Fires when a new window is to be created.

OnQuit

Fires before the Internet Explorer application quits.

ProgressChange

Fires when the progress of a download operation is updated on the object.

PropertyChange

Fires when the PutProperty method of the object changes the value of a property.

StatusTextChange

Fires when the status bar text of the object has changed.

TitleChange

Fires when the title of a document in the object becomes available or changes.

WindowActivate
WindowMove
WindowResize

 

Remarks

This interface is obsolete; use the DWebBrowserEvents2 interface instead. The DWebBrowserEvents2 interface provides more control over the WebBrowser control than the DWebBrowserEvents interface.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Exdisp.h

DLL

Shdocvw.dll

See also

IDispatch