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.
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 IWebBrowser2::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 Not implemented. WindowMove Not implemented. WindowResize Not implemented.
This interface is obsolete; use the DWebBrowserEvents2 interface instead. The DWebBrowserEvents2 interface provides more control over the WebBrowser control than the DWebBrowserEvents interface.
Stock Implementation shdocvw.dll Custom Implementation No Inherits from IDispatch Header Exdisp.h Minimum availability Internet Explorer 4.0 Minimum operating systems Windows 95, Windows NT 4.0, Windows CE 2.12