Updates in Internet Explorer 4.0

Updates in Internet Explorer 4.0


For Internet Explorer 4.0, the following new properties, methods, and events have been added:
Visual Basic C/C++ Type Description
AddressBar get_AddressBar property Indicates whether the URL address bar is shown.
Offline get_Offline property Determines if the browser is in offline mode.
ReadyState get_ReadyState property Returns the OLE ReadyState bindable object.
RegisterAsBrowser get_RegisterAsBrowser property Indicates whether the WebBrowser control is registered as a top-level browser.
RegisterAsDropTarget get_RegisterAsDropTarget property Indicates whether the WebBrowser control is registered as a drop target.
Resizable get_Resizable property Indicates whether the Internet Explorer object can be resized.
Silent get_Silent property Indicates whether dialog boxes can be shown.
TheaterMode get_TheaterMode property Indicates whether the browser is in "Theater Mode" or a normal browser window.
ExecWB ExecWB method Executes an IOLECommandTarget interface command.
Navigate2 Navigate2 method Navigates the WebBrowser control to a URL.
QueryStatusWB QueryStatusWB method Returns the status of commands using the IOLECommandTarget interface.
ShowBrowserBar ShowBrowserBar method Shows or hides a browser bar.
BeforeNavigate2 BeforeNavigate2 event Occurs before the WebBrowser control navigates to a new URL. (replaces BeforeNavigate and FrameBeforeNavigate)
DocumentComplete DocumentComplete event Occurs when the ReadyState property is changed to READYSTATE_COMPLETE.
NavigateComplete2 NavigateComplete2 event Occurs after the WebBrowser control navigates to a new URL (replaces NavigateComplete and FrameNavigateComplete).
NewWindow2 NewWindow2 event Occurs when navigation occurs with the navOpenInNewWindow flag (replaces NewWindow and FrameNewWindow).
OnFullScreen OnFullScreen event Occurs when the FullScreen property changes.
OnMenuBar OnMenuBar event Occurs when the MenuBarproperty changes.
OnQuit OnQuit event Occurs before the Internet Explorer application quits.
OnStatusBar OnStatusBar event Occurs when the StatusBar property changes.
OnTheaterMode OnTheaterMode event Occurs when the TheaterMode property changes.
OnToolBar OnToolBar event Occurs when the ToolBar property changes.
OnVisible OnVisible event Occurs when the Visible property changes.

Internet Explorer 3.0 Compatibility

The new WebBrowser_V1 object is now included with the WebBrowser control. This object supports the set of properties, methods, and events that exist in Internet Explorer 3.0. You can use the WebBrowser_V1 object in a Visual Basic project to run on computers with either Internet Explorer 3.0 or 4.0 installed. The WebBrowser object requires Internet Explorer 4.0 to access the new properties, methods, and events listed above.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.