A webpage or an ActiveX control that is hosted on a webpage may stop receiving the focus intermittently in Internet Explorer 9

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

On This Page

SYMPTOMS

When you use Windows Internet Explorer 9 to view a webpage or an ActiveX control that is hosted on a webpage, the webpage or the ActiveX control may stop receiving the focus intermittently. For example, the ActiveX control may seem to be disabled, or the focus on the webpage may be in the address bar after you click the page to try to gain focus.

Note This issue can affect any user interface element on the page that can receive the focus.

CAUSE

This problem occurs because the Tab window is detached from the input queue of the Frame window.

RESOLUTION

To resolve this issue, install the update that is mentioned in this article.

Security update information

To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, visit the following Microsoft website:
http://update.microsoft.com
For technical information about the most recent cumulative security update for Internet Explorer, visit the following Microsoft website:
http://www.microsoft.com/technet/security/current.aspx
Note This update was first included in security update 2618444. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2618444 MS11-NNN: Cumulative Security Update for Internet Explorer: December 13, 2011

WORKAROUND

To work around this problem, use one of the following methods:
  • Avoid making long-running blocking calls or performing any synchronous work on a UI thread that can potentially interfere with the thread's message pump.
  • Create the following registry subkey value to disable the Hang Resistance feature:
    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main

    Type: REG_DWORD
    Name: HangRecovery
    Value: 0
    By default, the Hang Resistance feature is enabled in Internet Explorer 9. Setting the HangRecovery value to 0 disables this feature; setting the value to 1 enables the feature.

  • Avoid calling the AttachThreadInput API or other APIs that can potentially result in changing the owner for the Tab window, because those APIs affect the Tab Thread's input queue. An example of an API that can change the Tab Thread's input queue is SetWindowLong.

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 Hang Resistance feature in Internet Explorer 9, visit the following Microsoft website:
Hang Resistance in IE9
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 2633864 - Last Review: December 13, 2011 - Revision: 2.0
APPLIES TO
  • Windows Internet Explorer 9
Keywords: 
kbqfe kbbug kbfix kbexpertiseinter kbsurveynew KB2633864

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