Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 Discussions

Window -Exit X button on a glut window

jaeger0
Beginner
498 Views

I want to handle an Exit via pressing the x-Button on a glut window. I have a quick-win application with two glut windows. For the main quickwin windo I handled the X-Button pressing by chaching the WM_CLOSE signal, as given in the Poker example, I tryied to do imilar for my glut window, but without sucess. Has anyone an Idea how I can handle thet button, or how I can disable the button. Because, now, pressing this button the whole application terminates.

I use the openGL_gl, library in my opengl application

0 Kudos
0 Replies
Reply