C#: In the keydown event of a textbox, how do you detect currently pressed modifiers + keys?
I did the following, but I\'m not too familiar with these operators so I
according to msdn linkt
private void txtShortcut_KeyDown(object sender, KeyEventArgs e) { if (e.Alt || e.Control || e.Shift)) { lbLogger.Items.Add(e.ToString() + " + " + "show non-modifier key being pressed here"); } }