Hi, I am hoping to get some ideas on how to achieve the following…
I am trying to capture multiple keydowns in order to execute certain event…
I’m using WPF and C#… I’ve tried the following to test… it doesn’t work, so I am hoping to get some ideas…
private void test(object sender, System.Windows.Input.KeyEventArgs e)
{
if (e.Key == System.Windows.Input.Key.H && e.Key == System.Windows.Input.Key.LeftCtrl
&& e.Key == System.Windows.Input.Key.System)
{
MessageBox.Show("Key pressed is: " + e.Key);
}
}
I am basically trying to capture Ctrl+Alt+h…