P
Peter B
Hi!
I am using VS and C# to create an application in which I want the user to be
able to type swedish characters with the hardware keyboard. Since the
keyboard doesn't have any of those keys I was hoping to produce the swedish
characters from my code after I receive a certain key value from the user.
I am using keybd_event from coredll.dll but I don't understand how I can
produce a character of my own liking. I can't find the swedish characters
(or any other special chars) in the list below of virtual keys codes.
keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo):
[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/ht
ml/cerefKeybd_event.asp]
Virtual Key Codes:
[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/ht
ml/cerefvirtualkeycodes.asp]
Is the key codes in the list above the only chars that can be synthezised
with the keybd_event method? Is there another method that can be used to
send more general (ASCII, Unicode) chars???
regards,
Peter
I am using VS and C# to create an application in which I want the user to be
able to type swedish characters with the hardware keyboard. Since the
keyboard doesn't have any of those keys I was hoping to produce the swedish
characters from my code after I receive a certain key value from the user.
I am using keybd_event from coredll.dll but I don't understand how I can
produce a character of my own liking. I can't find the swedish characters
(or any other special chars) in the list below of virtual keys codes.
keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo):
[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/ht
ml/cerefKeybd_event.asp]
Virtual Key Codes:
[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/ht
ml/cerefvirtualkeycodes.asp]
Is the key codes in the list above the only chars that can be synthezised
with the keybd_event method? Is there another method that can be used to
send more general (ASCII, Unicode) chars???
regards,
Peter