I don't think there is a fix for this because it's not really a problem. You will have to program this into your application. I'm not real familiar with writing graphics applications but I would imagine that you would need to draw and clear many rectangles while you are moving the mouse around after the mouse down event, but before the mouse up event. I would think that you would need to do this drawing of the rectangle on a different layer of the canvas so you can clear the layer and redraw with each mouse movement. You won't be able to clear the rectangle that you have drawn onto a layer with existing content, otherwise you'll loose what's "under" the rectangle when you clear it. I don't know if the .net drawing classes support multi layer drawing and all that goes along with that, but that's how I would imagine it working.
Peter
------------------------------------------------------
Work smarter, not harder.
|