Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WindowSetWidth event

Fires when the object changes its width.


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


Event information



Event handler parameters

nWidth [in]

Type: Long

A Long that specifies the width of the WebBrowser control.


The WindowSetWidth event is fired when the width of a window is changed by using the Width property.

This event is also fired when a new window is opened through scripting, by using the window.open method. The value of the Width parameter indicates the width 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.



© 2015 Microsoft