SHDocVw.TWebBrowserNavigateComplete2

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TWebBrowserNavigateComplete2)(System::TObject* ASender, const _di_IDispatch pDisp, const System::OleVariant &URL);

Properties

Type Visibility Source Unit Parent
typedef public SHDocVw.hpp SHDocVw SHDocVw

Description

TWebBrowserNavigateComplete2 is the type for the OnNavigateComplete2 event handler on TWebBrowser.

Sender is the Web browser that navigated to the new resource.

pDisp is the Automation interface of the browser.

URL is the URL, UNC file name, or PIDL that to which the Web browser navigated. This URL can be different from the URL to which the browser was told to navigate. For example, the browser may have been redirected by the target resource or by an OnBeforeNavigate2 event handler. In addition, the value of URL is the canonicalized and qualified URL: for example, if an application specified a URL of "www.borland.com" in a call to the Navigate or Navigate2 method, the URL in the OnDocumentComplete event handler is "http://www.borland.com/".