WindowSetHeight event

Fires when the object changes its height.


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


Event information

Synchronous No
Bubbles No
Cancelable No


Event handler parameters

  • nHeight [in]
    Type: Long

    A Long that specifies the new height of the WebBrowser control.


The WindowSetHeight event is fired when the height of a window is changed by using the Height property.

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

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