I am working on a virtual keyboard for windows. I know that I can generate keyboard events using (for example) keybd_event() using a virtual key code, but this method is completely impractical and does not allow me to output (for example) Chinese or Russian characters or the least difficult.
Is it possible, in windows, to simulate a keyboard event by sending a WM_CHAR message? That would be ideal if I could do this because I would just need to extract the char code from the encoded UTF-8 or UTF-16 configuration file and send a message.
If possible, how can I do this in Windows CE and Windows Mobile? I need to support both desktop and mobile devices.
Thank you for your help!:)
c ++ c windows events unicode
Virus721
source share