I hope with all the wisdom here someone has a solution to my problem:
I am trying to detect Alt+Tab key event but no way. In Windows XP it is working properly but not in Windows 7. I implemented all the callbacks for the keyboard but with no luck. I receive Alt+F1 for instance but not the one I want. Is there any way to detect this?
What I am trying to do is to detect when we gain focus and lose focus for my application and if so to minimize/maximize it. For this I also implemented the callback glutVisibilityFunc but it seems that it does not receive any event when I am pressing alt+tab or pressing the Windows-key and clicking over another application.
I am a bit desperate right now so any help would be appreciated
Thanks a lot!