[Vm-dev] WM_UNICHAR for handling Unicode
Bert Freudenberg
bert at freudenbergs.de
Fri May 25 17:20:42 UTC 2007
On May 25, 2007, at 15:26 , Chris Petsos wrote:
>> Well, the doc says it is generated by TranslateMessage(). Did you
>> call that? Also it is not supported by Windows Me and below.
>
> Yeap...no can do...
> TranslateMessage() posts another identical message... No WM_UNICHAR
> message there...
" 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?
- Bert -
More information about the Vm-dev
mailing list