المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Converting Key to ASCII [modified]



C# Programming
07-03-2009, 12:50 PM
Greetings,
how can I convert Key to ASCII. To point is that I would like to have to same result as using ToAsciiEX in Winapi (user32.dll).
For instance: I would like to check whether Key.LeftShift has an *****alent in ASCII table - as we can see from the link: http://www.bbdsoft.com/ascii.html[^] there is no *****alent in the ASCII table so the ToAsciiEx function will return 0.
For instance: CTRL+B has it's *****alent in ASCII table equals 2
I would like to know whether SHIFT+A has *****alent in ASCII table.
Generally i would like to check whether pressed keys (for instance: simple A, 0,4 or CTRL+B) have *****alent in ASCII table

modified on Friday, July 3, 2009 4:46 AM