Windows - Detecting keypress while GLFW window is not active

wayasam wrote on Monday, April 08, 2013:


I want to create a software (to Windows platfrom at first) that would be helping me in a game. It would be a timer program. A simple demo of the functions I need is this:

I press a key combination and after that a timer would start in my background program. After 1 minute a sound would play and possibly a text message would be displayed also on my screen. All this happening meanwhile I am playing a game in full screen mode. So my question is: Is this possible in GLFW? I mean catching the keypress somehow while another full screen application is running. And can I create a transparent OpenGL window with GLFW? Or do I need WinAPI for that? Or do I need WinAPI for both catching the keys and the transparent window?

I know that this is not a trivial task, but it surely can be done. There are several applications doing this, a common example is Xfire. Any help would be appreciated.

elmindreda wrote on Monday, April 08, 2013:

No, you cannot do this with GLFW.