Share via


DWebBrowserEvents2::DownloadBegin Event

Fires when a navigation operation begins.

Syntax

void DownloadBegin(VOID);

Return Value

No return value.

Event DISPID

DISPID_DOWNLOADBEGIN

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

Remarks

This event is fired shortly after the DWebBrowserEvents::BeforeNavigate event or the DWebBrowserEvents2::BeforeNavigate2 event, unless the navigation is canceled. 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

IWebBrowser2::Navigate, DWebBrowserEvents2::ProgressChange