Microsoft SDK for Java

DocumentComplete

This method of the DWebBrowserEvents2 interface notifies an application that a document has reached the READYSTATE_COMPLETE state.

Syntax

public void DocumentComplete(java.lang.Object pDisp, com.ms.com.Variant URL);

Parameters

pDisp [in] 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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.