Fires to indicate whether the host window should allow resizing of the object.
void WindowSetResizable( VARIANT_BOOL Resizable );
- [in] A VARIANT_BOOL 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 DISPID for this event is defined in exdispid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
The DWebBrowserEvents2::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.