how can i translate characters i receive in WM_KEYUP/DOWN in windowproc?
i mean: if shift is pressed, i want the char to be uppercase, if not, lowercase, etc.
Printable View
how can i translate characters i receive in WM_KEYUP/DOWN in windowproc?
i mean: if shift is pressed, i want the char to be uppercase, if not, lowercase, etc.
cmon..no ideas??
will have to write a *manual* one..which won't be good cos it won't take it into account locale.
im not using forms
im handling messages directly (window was made with createwindow)
i want the API to translate it for me :)
Well maybe you should check out these api calls:
Code:Public Declare Function CharUpper Lib "user32" Alias "CharUpperA" (ByVal lpsz As String) As String
Public Declare Function CharLower Lib "user32" Alias "CharLowerA" (ByVal lpsz As String) As String
nope, i want a call that translates the keycode from WM_KEYUP message (the lparam) to either upper or lower case according to if shift is pressed and according to keybrd layout (US/europe numbers at top r different).