SHDocVw.TWebBrowserDocumentComplete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TWebBrowserDocumentComplete = procedure(ASender: TObject; const pDisp: IDispatch;
const URL: OleVariant) of object;

C++

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

Properties

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

Description

TWebBrowserDocumentComplete is the type for event handlers that respond when the Service Control manager stops a service.

Sender is the Web browser that is loading the document.

pDisp is the Automation interface of the top-level frame or browser. When loading a document without frames, pDisp is the interface of the Web browser. When loading a document with multiple frames, this is the interface of the containing frame, except for the very last time the event occurs, when it is the interface of the Web 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 OnCommandStateChange 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/".