WindowSetResizable Event
Fires to indicate whether the host window should allow resizing of the object.
Syntax
Private Sub object_WindowSetResizable( _ ByVal bResizable As Boolean)
Parameters
- object
Object expression that resolves to the WebBrowser object.
bResizable
A Boolean that specifies whether the WebBrowser control is resizable. Can be one of the following values.
false
Control is not resizable.true
Control is resizable.
Error Codes
No return value.
Remarks
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.
Applies To
WebBrowser