[Vm-dev] WM_UNICHAR for handling Unicode
Chris Petsos
chrispetsos at sch.gr
Fri May 25 19:46:21 UTC 2007
> " The WM_UNICHAR message is first sent to a window, with UNICODE_NOCHAR
> (0xFFFF) in order to determine if the window supports it. If not handled,
> DefWindowProc will return 0 (on all versions of Windows), indicating that
> WM_UNICHAR is not supported. You must return 1 from your window procedure
> in order to receive input via WM_UNICHAR. "
> (http://www.tavultesoft.com/keyman/documentation/unicodeinput.php)
>
> Did you return 1?
Sorry if i make silly questions Bert but... what does he mean by
> You must return 1 from your window procedure
Which exactly is the window procedure (the DefWindowProc?) ?
How can i handle it to return 1?
Should i check the message wParam in recordKeyboardEvent(MSG *msg) and if it
is UNICODE_NOCHAR (0xFFFF) then i should make it (recordKeyboardEvent)
return 1 only for that time? And after that i should get WM_UNICHAR
messages?
Christos.
More information about the Vm-dev
mailing list