共用方式為


IWBScriptControl interface

Provides properties and methods for script control.

Members

The IWBScriptControl interface inherits from the IDispatch interface. IWBScriptControl also has these types of members:

  • Methods
  • Properties

Methods

The IWBScriptControl interface has these methods.

Method Description
bubbleEvent

Propagates an event up its containment hierarchy.

raiseEvent

Triggers an event, as specified.

setContextMenu

Constructs a context menu, as specified.

 

Properties

The IWBScriptControl interface has these properties.

Property Description

frozen

Retrieves whether content is able to handle events.

onvisibilitychange

Sets or retrieves a value on visibility change.

scrollbar

Sets or retrieves whether to show the scrollbar.

selectableContent

Sets or retrieves whether selectable content is valid.

version

Retrieves a string representing the version in the format "N.nnnn platform", where N is an integer representing the major version number, nnnn is a number of characters representing the minor version number, and platform is the platform (win32, mac, alpha, and so on).

visibility

Retrieves whether content is visible.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch