Hi,

In my software lots of objects are there. When user wants to move one of them he selects it and moves it by keystrokes.

What should I do to remove previous image of an object from previous position? Redrawing all objects will be very costly.

I have hered of XOR, but I dont know how to use it.

Plz help me.

If possible give some example.

Any help will be appreciated.

Thanx.