BUG: ActiveX Controls Are Not Clipped at Frames

Article ID: 272313 - View products that this article applies to.
This article was previously published under Q272313
Expand all | Collapse all

On This Page

SYMPTOMS

When the extent of a windowed ActiveX control exceeds the boundary of a frame on an HTML page, the control fails to clip correctly and paints over nearby frames.

RESOLUTION

To resolve this problem, obtain the latest service pack for Internet Explorer 5.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
276369 How to Obtain the Latest Service Pack for Internet Explorer 5.5

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer 5.5 Service Pack 2.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create the following HTML files:Default.htm:
    <HTML>
    <HEAD><TITLE>Repro of ActiveX clipping bug</TITLE></HEAD>
      <FRAMESET id="NavTree" cols="160,*" frameborder="0" framespacing="no">
           <FRAME SRC= "left.htm"  id="LeftFrame">
    	    <FRAMESET id="Main" rows="200,20">
    		   <FRAME SRC="main.htm" id="MainFrame">
    	           <FRAME SRC="bottom.htm" id="BottomFrame">
            </FRAMESET>
      </FRAMESET>
    </HTML>
    					
    Left.htm:
    <HTML><BODY BGCOLOR="yellow">
    </BODY></HTML>
    					
    Main.htm:
    <HTML>
    <BODY BGCOLOR="blue">
    <OBJECT id=ExampleActiveXControl1 style="LEFT: 0px; TOP: 0px" 
    	codeBase=download/ExampleActiveX.CAB#version=1,0,0,0 	classid=CLSID:F8B07941-6D71-11D4-B702-0001031A64F6 VIEWASTEXT>
    	<PARAM NAME="_ExtentX" VALUE="14923">
    	<PARAM NAME="_ExtentY" VALUE="16669">
    </OBJECT>
    </BODY></HTML>
    					
    Bottom.htm:
    <HTML><BODY BGCOLOR="white">
    </BODY></HTML>
    					
  2. In Internet Explorer 5.5, open Default.htm. The ActiveX control that is defined in Main.htm, which simply displays a red background, paints over the white area of the bottom frame.

REFERENCES

For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
http://msdn.microsoft.com/ie/

http://support.microsoft.com/iep

Properties

Article ID: 272313 - Last Review: May 11, 2006 - Revision: 4.0
APPLIES TO
  • Microsoft Internet Explorer 5.5
Keywords: 
kbbug kbctrl kbdhtml kbpending KB272313
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback