I have an application that looks like:
I want to draw a zoom rectangle by holding down the left mouse button and moving the mouse.
On each mousemove event I'll need to delete the old rectangle. How can do this without having invalidating the underlying graph?
I tried adding a new drawing surface that is transparent, put I still get paint messages to the main drawing surface (currently a panel)