Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/926133

From BetaArchive Wiki
Knowledge Base

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

Article ID: 926133

Article Last Modified on 10/27/2007


  • Microsoft Internet Explorer (Programming) 6 (SP1)
  • Microsoft Internet Explorer 6.0
  • Windows Internet Explorer 7


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.


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">


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


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

Keywords: kbtshoot kbbug kbactivexscript kbprb kbcode KB926133