Hi guys,

I like to design a workplace or form(not decided) in VC++ (MFC) or (C++) where I can select and place different objects like car , bike etc and move them programmatically.Each object has its own properties(which is already designed) I have no problem in moving them by changing x,y position.

But my question is how do I place different objects like car , bus on screen and move them to the place I want.I should also able to delete them when needed. As I am new MFC I would like to know how to proceed . Given an right direction I can swim on my own.

Do the MFC Scribble tutorial and it will give you a rough idea how do do it. Basically you will have to learn drag-and-drop then create objects that draw themselves at given coordinates. To delete an object just have it redraw itself with background color of the canvas.