WindowSetResizable event

Fires to indicate whether the host window should allow resizing of the object.

Syntax

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

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

bResizable [in]

Type: Boolean

A Boolean that specifies whether the WebBrowser control is resizable. Can be one of the following values.

VARIANT_FALSE (false)

Control is not resizable.

VARIANT_TRUE (true)

Control is resizable.

Remarks

The WindowSetResizable event is fired when a new window is opened through scripting, by using the window.open method. The value of the Resizable parameter indicates whether the resizable feature was requested in the call to window.open.

The host window can use this event to decide whether to display resizing user interface items, such as a size box and a maximize box.

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