User Profile
Collapse
-
Not exactly, I already know about key modifiers, codes , values and such. The challenge is simplifying my existing code and enhancing it to include all keyboard modifiers.... -
-
Not exactly what I was looking for. I would prefer grabbing the KeyCode of the keypress and then putting it in a char.Leave a comment:
-
ASCII 05 is Ctrl+E and ASCII 23 is Ctrl+W as seen from http://nemesis.lonestar.org/referenc...des/ascii.html.
I would like to find a more elegant way to do this rather than manually defining each block like this :
Code:if (e.KeyData == (Keys.Control | Keys.A)) { test = (char)01; } if (e.KeyData
Leave a comment:
-
Detecting if ASCII Control Characters are pressed (C#)
I am seeking a method to detect if ASCII Control Characters are pressed. My code currently shown here is not working too well i suspect.
Code:private void Transmitted_KeyDown(object sender, KeyEventArgs e) { if (e.Modifiers==Keys.Control) { test = (char)e.KeyCode; } }
No activity results to display
Show More
Leave a comment: