Fires when the object changes its width.
void WindowSetWidth( long Width );
- [in] A long that specifies the width of the WebBrowser control.
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::WindowSetWidth event is fired when the width of a window is changed by using the IWebBrowser2::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.