|
-
Dec 22nd, 2000, 02:31 PM
#1
Thread Starter
Hyperactive Member
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.
buzzwords are the language of fools
-
Dec 23rd, 2000, 08:28 AM
#2
Thread Starter
Hyperactive Member
cmon..no ideas??
will have to write a *manual* one..which won't be good cos it won't take it into account locale.
buzzwords are the language of fools
-
Dec 26th, 2000, 07:03 PM
#3
Thread Starter
Hyperactive Member
im not using forms
im handling messages directly (window was made with createwindow)
i want the API to translate it for me
buzzwords are the language of fools
-
Dec 26th, 2000, 08:20 PM
#4
Frenzied Member
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
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Dec 27th, 2000, 07:55 PM
#5
Thread Starter
Hyperactive Member
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).
buzzwords are the language of fools
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|