Subject: Re: Patch: Win32 IME support
From: Mike Nordell (firstname.lastname@example.org)
Date: Sun Apr 15 2001 - 08:52:21 CDT
Andrew Dunbar wrote:
> Well we're using ALT+1,ALT+2,ALT+3 as text size keys. We may
> need to handle keypad events specially?
Yes. In any other windows application you can use ALT + n, where 'n' is the
decimal value of either the ANSI codepage or the OEM codepage character
depending on wether NK_0 was the first number or not. Ehh, not the best of
explanations. Let's try it like this:
(WM_SYSKEYD+U = WM_SYSKEYDOWN + WM_SYSKEYUP)
WM_SYSKEYDOWN (fAltDown: 1)
would result in the insertion of a left square bracket ('[') by the next
WM_CHAR chCharCode 91.
(yes, this is really the sequence of keyboard messages, just checked using
This is a clear indication that we must also use WM_CHAR even when we've
gotten no WM_KEYDOWN.
This archive was generated by hypermail 2b25 : Sun Apr 15 2001 - 09:08:38 CDT