A webpage or an ActiveX control may stop receiving the focus intermittently in Internet Explorer 9 and later versions

Symptoms
When you use Windows Internet Explorer 9 and later versions of Internet Explorer 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 behavior occurs because the Tab window is detached from the input queue of the Frame window by design.
Workaround
To work around this issue, 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.
More information
For more information about the Hang Resistance feature in Internet Explorer 9, visit the following Microsoft website: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
خصائص

رقم الموضوع: 2633864 - آخر مراجعة: 09/21/2016 05:54:00 - المراجعة: 5.0

Windows Internet Explorer 9

  • kbqfe kbbug kbfix kbexpertiseinter kbsurveynew KB2633864
تعليقات