Enabling double click message handling in GLUT based windows
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have found a problem with most of the applications we are working on, namely that the windows double click messages are never received. The reason for this is that the windows are openGL based and the CS_DBLCLKS style is not being set by glut. I can get around this by adding the flag to the file glut_init.c, but this a 3rd party file so I'd prefer not to modify it. Does anyone know of a way I can pass or set default windows style flags to glut without modifying the GLUT source code? When I die I'd like to go peacefully in my sleep like my father, not screaming in terror like his passengers!!!