Listen a key without a focus on our application
Posted on 2011-02-21
I've an application(C# 4.0-WPF), which is hidden and can be displayed by clicking on the systray icon or on an other frame I created(small frame which is docked left and topmost).
My customer wants to add a new way to display the application: When pressing on a "F" key(e.g. F9).
How can I do to know when I got this key stroke if my application hasn't the focus?
Thank you very much