Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (33 sloc) 2.64 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.tgt_pltfrm ms.topic helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
IActiveScriptSite | Microsoft Docs
01/18/2017
windows-script-interfaces
reference
IActiveScriptSite interface
4d604a11-5365-46cf-ab71-39b3dbbe9f22
7
mikejo5000
mikejo
ghogen

IActiveScriptSite

Implemented by the host to create a site for the Windows Script engine. Usually, this site will be associated with the container of all the objects that are visible to the script (for example, the ActiveX Controls). Typically, this container will correspond to the document or page being viewed. Microsoft Internet Explorer, for example, would create such a container for each HTML page being displayed. Each ActiveX control (or other automation object) on the page, and the scripting engine itself, would be enumerable within this container.

Methods in Vtable Order

Method Description
IActiveScriptSite::GetLCID Retrieves the locale identifier that the host uses for displaying user-interface elements.
IActiveScriptSite::GetItemInfo Obtains information about an item that was added to an engine through a call to the IActiveScript::AddNamedItem method.
IActiveScriptSite::GetDocVersionString Retrieves a host-defined string that uniquely identifies the current document version from the host's point of view.
IActiveScriptSite::OnScriptTerminate Called when the script has completed execution.
IActiveScriptSite::OnStateChange Informs the host that the scripting engine has changed states.
IActiveScriptSite::OnScriptError Informs the host that an execution error occurred while the engine was running the script.
IActiveScriptSite::OnEnterScript Informs the host that the scripting engine has begun executing the script code.
IActiveScriptSite::OnLeaveScript Informs the host that the scripting engine has returned from executing script code.

See Also

Active Script Interfaces