Freigeben über


WindowSetTop event

Fires when the object changes its top position.

Syntax

HTML Attribute <element WindowSetTop = "handler(event)">
attachEvent Method object.attachEvent("WindowSetTop", handler)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

  • nTop [in]
    Type: Long

    A Long that specifies the top position of the WebBrowser control.

Remarks

The WindowSetTop event is fired when the top position of a window is changed by using the Top property.

This event is also fired when a new window is opened through scripting, by using the window.open method. The value of the Top parameter indicates the top position requested in the call to window.open.

This event is available only to an application that is hosting the WebBrowser control installed by Microsoft Internet Explorer 5.5 and later.