   How to insert edit control in opengl window
  HiI am beginner for the opengl application development.I have created opengl window using glutCreateWindow();, Here my question is how to create 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.........   
  Please post your question clearly.Anyway i am understanding that you to take x and y coordinate as input and then want to draw any shapes like quad.If i am thinking in a right track then take inputs like other normal programs and then use those variable values to draw your shape.If you are using MFC then use text input box for taking input.   ;  I'll explain my question clearly,I have developed opengl window(i.e.using graphics library)in MFC.In that window I want to show an edit control first.Because I developed that opengl window by using glutcreatewindow() function, I cann't place a edit control from mfc tool kit,so I think It maybe some function to place an edit control in that opengl window.hope you understand....   ;  I don't use GLUT but isn't there a GLUT gui api?   ;  I don't know whether the glut gui api is there or not! but In any method I want to place an edit control in my opengl window.   ;  Hi,unfortunately there is no way to add MFC controls on a GLUT-generated rendering window (at least none I know). However, you can consider a differend GUI api like GLUI or AntTweakBar.You can find GLUI here: glui.sourceforge.net And AntTweakBar here: www.antisphere.com/Wiki/tools:anttweakbarI hope this can help.   ;Try this for MFC and OpenGL. It uses GLUT and MFC.   