Best way to tackle global hotkey processing in c#? [duplicate]
The nicest solution I’ve found is http://bloggablea.wordpress.com/2007/05/01/global-hotkeys-with-net/ Hotkey hk = new Hotkey(); hk.KeyCode = Keys.1; hk.Windows = true; hk.Pressed += delegate { Console.WriteLine(“Windows+1 pressed!”); }; hk.Register(myForm); Note how you can set different lambdas to different hotkeys