View Full Version : Disable "X"

11-21-2003, 06:33 AM
I'm using glut and would like to disable the "X" in the upper right corner of my window. How do I do this?

I don't want to register a callback, I just want to completely disable the button. It can be visible and greyed out, but it can't be functional.

[This message has been edited by collins_scott (edited 11-21-2003).]

12-04-2003, 10:40 AM
I don't think GLUT provides that functionality. If you can figure out how to do that on your platform, you could add code to GLUT to support that. I'm sure the GLUT maintainers would gladly accept a patch. http://www.opengl.org/discussion_boards/ubb/smile.gif