Fires to indicate whether the host window should allow resizing of the object.
Private Sub object_WindowSetResizable( _ ByVal bResizable As Boolean)
- Object expression that resolves to the WebBrowser object.
- A Boolean that specifies whether the WebBrowser control is resizable. Can be one of the following values.
- Control is not resizable.
- Control is resizable.
No return value.
The WindowSetResizable event is fired when a new window is opened through scripting, by using the window.open method. The value of the bResizable 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.