INFO: WebBrowser Control Visible Property Fires Onload Event (199155)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
This article was previously published under Q199155 SUMMARY
When the Internet Explorer WebBrowser control is hosted by an application (a Visual Basic form, for example), the Internet Explorer DHTML window.onunload and window.onload events are fired on the page if you change the visible property.
This behavior is by design.
REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbDHTML kbFAQ kbieObj kbinfo kbWebBrowser KB199155 |
---|
|