From: Adam Panayis <adam@mo...> - 2009-09-24 15:38:25
Hi, I am trying to catch when a user clicks on the minimise icon in
the top right hand corner of an opengl created window.
Looking at the source code there is a case which is documented to do
this for me but I never seem to hit that piece of code when I click
the minimise icon.
I am on Linux using X.
case SC_MINIMIZE :
/* User has clicked on the "-" to minimize the window
/* Turn off the visibility */
window->State.Visible = GL_FALSE ;
Can someone point me in the right direction?