Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WindowSetHeight Event

Fires when the object changes its height.


        Private Sub object_WindowSetHeight( _
	ByVal nHeight As Long)


Object expression that resolves to the WebBrowser object.
A Long that specifies the new height of the WebBrowser control.

Error Codes

No return value.


The WindowSetHeight event is fired when the height of a window is changed by using the Height property.

This event is also fired when a new window is opened through scripting, by using the window.open method. The value of the nHeight parameter indicates the height 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.

Applies To


Community Additions

© 2015 Microsoft