In an ChatWndEditKeyDown event, it is sometimes necessary to find which key is down. I could do this by directly comparing the virtual key code that was pressed with the one I would like to see, but this could fail on keyboards with different languages.
What I need is a way to find which character was pressed regardless of the keyboard layout that is fast and won't slow down typing...but I can't figure out how.
If there is a better way to do this please tell me
.
EDIT: Maybe the ToAscii and ToAsciiEx functions could be used, but I don't think the event passes enough information to call them.