FIX: IDocHostUIHandler Not Queried for CLSID_WebBrowser_V1 (192501)
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) 5
This article was previously published under Q192501 SYMPTOMS
When hosting the Internet Explorer WebBrowser control, the host application
can control the user interface by implementing the IDocHostUIHandler
interface. This interface is obtained by Internet Explorer from the host's
client site and allows the host to replace menus, toolbars and context
menus.
If the WebBrowser control is instantiated using the CLSID_WebBrowser_V1
class identifier, the host is not queried for the IDocHostUIHandler
interface.
RESOLUTION
If possible, create the WebBrowser control using the CLSID_WebBrowser class
identifier. The Internet Explorer 3.0x automation and event interfaces are
available from this object, but are not marked as default.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Internet Explorer 5. REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mark Davis, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbBug kbcode kbfix kbie500dp1fix kbie500fix kbWebBrowser KB192501 |
---|
|