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

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



C# Programming
07-03-2009, 10:41 AM
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[^ (http://www.bbdsoft.com/ascii.html)] there is no *****alent in the ASCII table so the ToAsciiEx function will return 0.