Focus lost after "Windows KEY" pressed



  • Hi,
    I'm developing a simple software for testing keyboard keys, I turn on all the pressed keys in a GUI repoducing the keyboard, but obviously after pressing Windows Key Windows steal the focus from the application and runs its starter, so I have to click to the application to restore the focus.
    What if I don't have the mouse? I'd like an automatic re-focus on the application without the key sequence Alt+TAB.
    Is there a Qt method o a Windows system API ?


  • Moderators

    yes, press the windows key again ;)

    But beyond that you won't have a chance, since this is OS specific default behavior.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.