Microsoft Knowledge Base Email Alertz

An ActiveX control in an iframe object redraws when you click an HTML element that is located outside the iframe object in Internet Explorer 6 or in Windows Internet Explorer 7

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 926133 - Last Review: October 27, 2007 - Revision: 1.3

An ActiveX control in an iframe object redraws when you click an HTML element that is located outside the iframe object in Internet Explorer 6 or in Windows Internet Explorer 7

SYMPTOMS

Consider the following scenario. You host an ActiveX control in an iframe object. The ActiveX control was built by using Microsoft Visual Studio .NET 2003 and uses GDI+ as a graphic library. In Microsoft Internet Explorer 6 or in Windows Internet Explorer 7, you open the HTML page that contains the iframe object. You click an HTML element, such as a button, that is located outside the iframe object. In this scenario, you notice that the ActiveX control redraws when you click the HTML element. The redraw process produces an unwanted flickering effect on the ActiveX control.

WORKAROUND

To work around this problem, enable the frame transparency for the iframe object. To do this, add the allowTransparency attribute to the <IFRAME> tag. To do this, use the following syntax:
<IFRAME allowTransparency="true">

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 allowTransparency attribute, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms533072.aspx (http://msdn2.microsoft.com/en-us/library/ms533072.aspx)

APPLIES TO
  • Microsoft Internet Explorer (Programming) 6 (SP1)
  • Microsoft Internet Explorer 6.0
  • Windows Internet Explorer 7
Keywords: 
kbactivexscript kbtshoot kbcode kbbug kbprb KB926133
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate