Drag and drop

Hello friends,
Can any one of you explain me how i can move an 3D object which is drawn in opengl,with mouse move in window.
Suggest some code.
With Thanks.

It is called picking. Read some book, or tutorials.

check my site (profile) theres a demo that lets u drag objects around

Hello Zed,
Thanks for you replay with some code.As I am new for OpenGL can you explain me why the object is clearly visible only in a perticuler rectangle draw by you ?,not out side .How the oject view in full window.