PDA

View Full Version : System.Windows.Forms.KeyEventArgs e tostring



reven
2005-01-04, 11:58 AM
im trying to make the onscreen keyboard act with a real keyboard, so user types in a word, the word appears etc. got letters done fine, but using the shift+ specialcharacter, like the shift? which is "/" returns some odd results, often appearing as 3/4 or 1/2 etc.
ive tried using
e.keycode.tostring
e.keyvalue
e.keydata
and always with odd results.
in java i remember this being a lot easier.

anyone know the stupid error im doing?

KingArgyle
2005-01-04, 02:45 PM
Reven, this article might help:

http://www.ondotnet.com/pub/a/dotnet/2002/04/29/keys.html