You cannot open a custom pop-up menu when you right-click an area of a Web page in Internet Explorer 8

Article translations Article translations
Article ID: 972845 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You develop an application that hosts a Web Object Control (WebOC). The WebOC loads a Web page into this application.
  • You create a custom pop-up menu for this Web page by using the IHTMLWindow4::createPopup method.

    Note The IHTMLWindow4::createPopup method enables you to open a pop-up menu when you right-click an area of a Web page.
  • You retrieve the HTML document for the custom pop-up menu by using the IHTMLPopup::document property.
  • You try to call the QueryInterface method for the ICustomDoc interface to point to the HTML document that you want to use for the custom pop-up menu.
In this scenario, you run the application on a computer that is running Internet Explorer 8. However, when you right-click an area of the Web page, the custom pop-up menu does not appear. If you try to debug this problem, the HRESULT 0x80004002 (E_NOINTERFACE) value is returned to the QueryInterface method. However, you expect the HRESULT 0x0 (S_OK) value to be returned to the QueryInterface method.

RESOLUTION

Security update information

To resolve this problem, install the most recent cumulative security update for Windows Internet Explorer. To do this, visit the following Microsoft Web site:
http://windowsupdate.microsoft.com
For more technical information about the most recent cumulative security update for Windows Internet Explorer, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/current.aspx
Note This update was first included in security update 974455 (MS09-054). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
974455 MS09-054: Cumulative Security Update for Internet Explorer

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To install this hotfix, you must have Internet Explorer 8 installed on a computer that is running one of the following operating systems:
  • Windows XP Service Pack 2 (SP2) or Windows XP Service Pack 3 (SP3)
  • Windows Server 2003 Service Pack 2 (SP2)
  • Windows Vista
  • Windows Server 2008

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

Registry information

To use one of the hotfixes in this package, you do not have to make any changes to the registry.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of Internet Explorer 8 for Windows XP SP2 and for Windows XP SP3
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mshtml.dll8.0.6001.228925,938,17624-Jun-200915:40x86
For all supported x86-based versions of Internet Explorer 8 for Windows Server 2003 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mshtml.dll8.0.6001.228925,938,17624-Jun-200921:03x86
For all supported x86-based versions of Internet Explorer 8 for Windows Vista and for Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mshtml.dll8.0.6001.228915,937,66420-Jun-200913:03x86
Mshtml.tlb8.0.6001.228911,638,91220-Jun-200911:34Not Applicable

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the IHTMLWindow4 interface, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/aa741344(VS.85).aspx


For more information about the createPopup method, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn.microsoft.com/en-us/library/aa741342(VS.85).aspx


For more information about the IHTMLPopup::document property, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn.microsoft.com/en-us/library/aa769082(VS.85).aspx


For more information about the QueryInterface method, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn.microsoft.com/en-us/library/78xw8kzk.aspx


For more information about the ICustomDoc interface, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn.microsoft.com/en-us/library/aa753272(VS.85).aspx

Properties

Article ID: 972845 - Last Review: September 7, 2009 - Revision: 1.2
APPLIES TO
  • Windows Internet Explorer 8
Keywords: 
kbexpertiseinter kbqfe kbhotfixserver kbsurveynew kbprb KB972845

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com