move object with a mouse

can somebody tell me the code to move a 3d
object (among different objects on the screen) with a mouse? i am using MFC with OpenGL.
thanks in advance.

Well, Depends on how strong the mouse is, viagra could help sometimes but I do not know the how effective viagra is on mice…


This isn’t an OpenGL topic but ill try to help anyways.

Just make a function to reassign all the vertices of a polygon to coords relative to the mouse.