I use following code to detect all key events in a WinRT app page:
Window.Current.CoreWindow.KeyDown += CoreWindow_KeyDown;
...
private void CoreWindow_KeyDown(CoreWindow sender, KeyEventArgs args)
{
//Handle key event
}
But the Alt (Menu in the VirtualKey enumeration) key does not trigger the CoreWindow.KeyDown event. It does also block any other key to trigger the event while pressed.
Anyone know how to detect the Alt keydown event on a global page level in a WinRT app?