select and move object

hello,
can anybody tell me the code to select and move a 3D object with a mouse (among different objects on the screen)?i am using MFC with OpenGL.
thanks in advance.

Hello,

You can download an example of this from The CodeProject: http://www.codeproject.com/opengl/mfchittest.asp

np.