Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Redrawing and keeping objects
I'm a student with some experience on the drawing in Delphi 2005 and VB.NET. My curent project is to make something that would look like Microsoft Paint. My main problem is redrawing, drawing ghost images. For example if I constantly redraw on mousemove events to show the dimensions of new object I wil lose any previous objects drawn on the surface. Can someone give me any kind of help? It does not have to be a solution, just a some kind of global explanation of how could it be done (redrawing a form and not loosing drawn objects). I could also use some hyperlink if someone could direct me.