PDA

View Full Version : hide openGL window



rothgar
04-10-2004, 02:42 PM
hello i have not found this in any of the books i have and im sure there is something for it out there. is there anyway to hide/get rid of an openGL window. i have a program that i am writting and i have options to display a certain window and then i also need to have the option to take it away. is there any command in glut or openGL that can do this for me?

any help is greatly appreciated.

Overmind
04-11-2004, 12:18 AM
With glut:
glutHideWindow()
glutShowWindow()
glutIconifyWindow()

These change the state of the current glut window, but not at once but only after the program returns to the glut main event loop.

jwatte
04-11-2004, 10:13 AM
Moderator locked the first copy of this thread, and you just posted again? I'd suggest you take the hint, and move this question to a forum that's suited for the question (probably the platform-dependent forum for whatever platform you're using).

dorbie
04-11-2004, 11:29 AM
I did not lock the thread I moved it to the beginners forum. I'm locking this one, please see your original thread in the beginners forum for replies.