Share via


DWebBrowserEvents2::DownloadComplete Event

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

Syntax

void DownloadComplete(VOID);

Return Value

No return value.

Event DISPID

DISPID_DOWNLOADCOMPLETE

The DISPID for this event is defined in exdispid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.

Remarks

Unlike DWebBrowserEvents::NavigateComplete or DWebBrowserEvents2::NavigateComplete2, which are fired only when a URL is successfully navigated to, this event is always fired after a navigation starts. Any animation or "busy" indication that the container must display should be connected to this event.

Each DWebBrowserEvents2::DownloadBegin event has a corresponding DWebBrowserEvents2::DownloadComplete event.

See Also

DWebBrowserEvents2::DownloadBegin, IWebBrowser2::Navigate, IWebBrowser2::Navigate2, DWebBrowserEvents2::ProgressChange