Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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

↑ Back to the top


Status

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

↑ Back to the top


More information

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

↑ Back to the top


Keywords: KB926133, kbprb, kbbug, kbcode, kbtshoot, kbactivexscript

↑ Back to the top

Article Info
Article ID : 926133
Revision : 4
Created on : 10/27/2007
Published on : 10/27/2007
Exists online : False
Views : 454