opengl window with edit control


I am beginner for the opengl application development.I have created opengl window using glutCreateWindow();, Here my question is how to create(or) insert an edit control in that opengl window and according to the given values in that edit control my opengl window objects should respond(ex:according to the given x coordinate my object in that window should move).

can any one help me…

You can do one of two things, you can create your own control widgets in OpenGL and then handle all events yourself, or you could use something like Gtkmm to create your controls, and gtkglextmm to create your OpenGL view. I personally would try the latter unless there’s some reason why you’d want to do the former.