This method of the DWebBrowserEvents2 interface fires after a navigation to a hyperlink is completed (on either a window or frame set element).
public void NavigateComplete2(java.lang.Object pDisp, com.ms.com.Variant URL);
pDisp | [in] The address of the IDispatch interface for the WebBrowser object that represents the window or frame in which the document has loaded. This interface can be queried for the IWebBrowser2 interface. |
URL | [in] The string expression that evaluates to 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 told 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 or Navigate2 method, the URL passed by DocumentComplete would be "http://www.microsoft.com/". Also, if the server has redirected the browser to a different URL, the redirected URL will be reflected here. |