Windows - Detecting keypress while GLFW window is not active

Using GLFW
VSZM
2013-04-08
2013-04-08
  • VSZM
    VSZM
    2013-04-08

    Hi!

    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.

     
  • Camilla Löwy
    Camilla Löwy
    2013-04-08

    No, you cannot do this with GLFW.