PDA

View Full Version : Override closing function of GLUT window



Mr.Freeze
10-11-2001, 09:43 PM
Hi,

Does anyone have an idea how I can avoid exiting my application when the X-button in the upper right of my GLUT window is pressed??
I just want to close that window (with glutDestroyWindow) without closing my other GLUT windows and the whole application.

Thanks for your advice http://www.opengl.org/discussion_boards/ubb/smile.gif
(and please don't tell me the only solution is to avoid using GLUT... http://www.opengl.org/discussion_boards/ubb/wink.gif )