ID: Q192007
The information in this article applies to:
This articles describes those properties, methods, and events that appear on the IWebBrowser2 interface when hosting the WebBrowser control and that are not applicable when hosting the control.
The following properties, methods, and events appear on the IWebBrowser2 interface when hosting the WebBrowser control but are not applicable. Setting these properties and calling these methods has no effect. Similarly, the events listed are not raised.
For example, consider the Toolbar property, which applies only when Internet Explorer is running as a separate window and the toolbar is displayed. When automating Internet Explorer, you can use this property to display or hide the toolbar. There is no toolbar with the WebBrowser control. Your application, which is hosting the WebBrowser control, is responsible for creating its own toolbar. Therefore, the Toolbar property is ignored by the WebBrowser control.
The same is true for the FullScreen property. The WebBrowser control cannot appear in FullScreen mode. You can size the WebBrowser control to occupy the entire screen yourself, but you cannot use the FullScreen property.
The Quit method also does not apply to the WebBrowser control. You need to provide this functionality in your own application.
All of the above properties, methods, and events are available when you are automating Internet Explorer. Automation means that there is a separate instance of the Internet Explorer window open which is being controlled by your application. The WebBrowser control is actually hosted within a window of your own application.
Additional query words:
Keywords : kbIE400 kbIE401 kbWebBrowser kbIE401sp1
Version : WINDOWS:4.0,4.01,4.01sp1
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: August 29, 1998