I have a dialog box in which i have 7 text boxs.
they each are for 7 parameters in a function i have created for creating a light in openGL.
the parameters are:
name (GL_LIGHT0, GL_LIGHT1, etc)
position x
position y
position z
red
green
blue
i can get every parameter to be taken from the editboxs except for the name.
basicly my question is, how do i get a GLenum value to = edit box text?
any help will be very much appreciated!
-psychopath