Microsoft KB Archive/926133

= 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

-

APPLIES TO


 * Microsoft Internet Explorer (Programming) 6 (SP1)
 * Microsoft Internet Explorer 6.0
 * 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  tag. To do this, use the following syntax: 



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; 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

Keywords: kbtshoot kbbug kbactivexscript kbprb kbcode KB926133

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.