Hello,
I'm new on C# and i'm trying to implement a control that traps a
certain sequence of keys to use for shortcut key functionality like the
one used in the the Tools->Customize->Keyboard->"Press shorcut key(s)"
control in IDE.
Traping the normal keys in the keyboard works, keys from 0-9 and A-Z
all ok, but the problem is when i press some special keys for example
this ~ < what appears on my ctrl is something like OemQuestion
OemBackslash respectivly.
I think that the problem is the localization that i have configured,
because my default input language is Portugues and i think that the one
that is given me is the default of the O.S.
My question is how i can set the culture/locale in my program to
enable the portuguese keyboard layot, and when i press for example ~ it
gives me the proper key in OnKeyDown(KeyEventArgs e) on e.KeyCode, or
is nothing like that and i only have to convert the KeyCode to the one
in my culture? -> if yes how this is done...
Thanks