Keys enumeration, not returning ASCII equivalent for all punctuation?

If I remember correctly, the KeyDown event is used mostly for handling "special" keys, i.e. Function keys, Home/End, etc KeyCode is the actual keyboard (hardware) "scan code", which is not guaranteed to be the same as the Unicode character value If you want the character values, you probably want the KeyPress event instead of KeyDown However, if you also want to handle "special" keys, then you will need both.

If I remember correctly, the KeyDown event is used mostly for handling "special" keys, i.e. Function keys, Home/End, etc. KeyCode is the actual keyboard (hardware) "scan code", which is not guaranteed to be the same as the Unicode character value. If you want the character values, you probably want the KeyPress event instead of KeyDown.

However, if you also want to handle "special" keys, then you will need both.

– Ben Voigt Sep 26 at 18:01 D'oh! Yes, thanks. – David Sep 26 at 18:13.

Keycodes aren't ASCII. You probably want to use the KeyPress event instead of KeyDown. The event args for KeyPress include the KeyChar field which has an ASCII code (or Unicode, but for ASCII characters the Unicode value is the same).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions