I'm developing a XAML system which at present involves an icon in the taskbar which the user has to hover over in order to open the main window. However I need to take accessibility into consideration due to legal issues and also making the system appeal to as broad a range of users as possible. In order to make the system more accessible I am in the process of trying to create a windows shortcut which will allow the main program window to be opened from anywhere else in windows.

The code I've been working on, has 2 faults, the first is that the event handler only fires if the application itself is the focus, where as the shortcuts I require must be able to be opended while other windows are in focus etc. The second is that in the event handler it doesn't detect Alt & Q being pressed at the same time. The code I've created can be found below, I'm just looking for a way to handle the shortcut Alt & Q from anywhere in the windows enviroment and detect them buttons have been pressed, so the window can open.

Any help or advice would be appreciated.

```
this.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_Keydown);

private void Window_Keydown(object sender, KeyEventArgs e)
    {
        if ((e.KeyboardDevice.Modifiers == ModifierKeys.Alt) && (e.Key == Key.Q)){}
    }

```