   Deleting GDI shapes
  can anyone tell me how to delete GDI shapes made?im trying to make a animated ellipse move from one corner to the another by redrawing it at cords.  Thingis i cant figure out how to remove tne prevoiusly drawn ellipse.  I tried using DeleteObject but it didn''t work.  Anyone know of a way i can do this or maybe a better way to animate it using GDI 
  << I tried using DeleteObject but it didn''t work. Anyone know of a way i can do this or maybe a better way to animate it using GDI >>DeleteObject is what you do at the end, one time (like in your GameShutdown or GameQuit). What you want is to re-draw the object as black to erase it (assuming your background is black). However, if you double-buffer in GDI you don''t have any erasing to do since your entire back_dc gets erased every frame (which is the easier method).This moves/erases circles without a back buffer | EXE (GDI Ellipse)This uses a GDI back buffer to move asteroid-like shapes | EXE (GDI Polygon)Phil P ;  much appriciated thanksedit: links dont work but i got the idea.   [edited by - Rydis on February 14, 2004 8:01:17 PM]