void NavigateComplete2( IDispatch *pDisp, VARIANT *URL );
- [in] A pointer to the IDispatch interface for the WebBrowser object that represents the window or frame. This interface can be queried for the IWebBrowser2 interface.
- [in] A pointer to a VARIANT structure of type VT_BSTR that contains the URL, UNC file name, or PIDL that was navigated to. Note that this URL can be different from the URL that the browser was directed to navigate to. One reason is that this URL is the canonicalized and qualified URL. For example, if an application specified a URL of "www.microsoft.com" in a call to the Navigate method or the Navigate2 method, the URL passed by IWebBrowser2::Navigate2 is "http://www.microsoft.com/." If the server has redirected the browser to a different URL, the redirected URL is reflected.
No return value.
The DISPID for this event is defined in exdispid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
The URL parameter can be a PIDL in the case of a Shell namespace entity for which there is no URL representation.
This event replaces the NavigateComplete and FrameNavigateComplete events, which should no longer be used. Microsoft Internet Explorer 4.0 and Internet Explorer 5 continue to fire the NavigateComplete and FrameNavigateComplete events for compatibility with Internet Explorer 3.0.
The document might still be downloading (and in the case of HTML, images might still be downloading), but at least part of the document has been received from the server, and the viewer for the document has been created.