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.

Memory is leaked when a drag action is performed on an image in Internet Explorer


View products that this article applies to.

Symptom

Using Internet Explorer version 6.0 or later, and attempting to drag-and-drop an image may cause a memory increase with each drag-and-drop operation.  This increase will occur when you have an onmousemove event handler either on the image or on one of the parent elements of the image. The memory increase is more pronounced when the image is of the .PNG file type.

↑ Back to the top


Cause

Microsoft has confirmed this is a problem in the products listed in the Applies-To section.

↑ Back to the top


Resolution

Use one of the following workarounds to resolve this issue:


1) Return false from the onmousemove event handler.

OR

2) Return false from ondragstart event handler

↑ Back to the top


More information

For more information on the onmousemove and ondragstar events, please see the following documents:

onmousemove Event
http://msdn.microsoft.com/en-us/library/ms536947(VS.85).aspx


ondragstart Event
http://msdn.microsoft.com/en-us/library/ms536928(VS.85).aspx

 

↑ Back to the top


Keywords: kbrapidpub, kbnomt, KB2000269

↑ Back to the top

Article Info
Article ID : 2000269
Revision : 3
Created on : 6/24/2009
Published on : 6/24/2009
Exists online : False
Views : 404