Fires when the object changes its width.
Private Sub object_WindowSetWidth( _ ByVal nWidth As Long)
- Object expression that resolves to the WebBrowser object.
- A Long that specifies the width of the WebBrowser control.
No return value.
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 nWidth 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.