PDA

View Full Version : ...uhh, creating Dialog Boxes and OpenGL?



rpxmaster
03-15-2002, 03:37 PM
Hi, I'm making a program where I need to create an extra window to be used as a dialog box (e.g. Open..., Save As...), and be able to draw my own graphical user interface using OpenGL, in addition to the program's main window. I have not figured out how to do this yet, though. Is there a way where I can do this, and how? My code is based off of NeHe's.

nexusone
03-15-2002, 04:46 PM
Use GLUT, it has a menu function, pop-up windows function's, etc.
Look at Nate Robins web site for some glut examples. http://www.xmission.com/~nate/opengl.html


Originally posted by rpxmaster:
Hi, I'm making a program where I need to create an extra window to be used as a dialog box (e.g. Open..., Save As...), and be able to draw my own graphical user interface using OpenGL, in addition to the program's main window. I have not figured out how to do this yet, though. Is there a way where I can do this, and how? My code is based off of NeHe's.

Furrage
03-15-2002, 07:46 PM
Any way to do it without GLUT? Or more specifically with gl and glu commands only.

endo
03-16-2002, 02:07 AM
I cant be 100% sure that it cant be done with gl/glu commands but I doubt it very much. Dialog boxes are a windowing thingy, OpenGL is a graphics API pure and simple.

If you dont want to use glut try Win32, MFC or something similar