BUG: ActiveX Controls Are Not Clipped at Frames (272313)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 5.5

This article was previously published under Q272313

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:

Modification Type:MajorLast Reviewed:5/11/2006
Keywords:kbBug kbCtrl kbDHTML kbpending KB272313