On Tue, 26 Jul 2005 21:26:29 +0900 "Dmitry Timoshkov" dmitry@baikal.ru wrote:
"Phil Krylov" phil@newstar.rinet.ru wrote:
Oh sorry. For some reason I thought that HIWORD(wParam) is used for some other data. Here is a new patch, is it ok?
Looks good to me, let's see if Alexandre likes it as well.
Still it is not the best. Now, WM_CHARs posted by PostMessageA and dispatched using GetMessageA work well (are converted back and forth). But when the message loop uses GetMessageW, these WM_CHARs come to the window procedure as 4-byte "garbage" (WCHAR which is converted from CP_ACP to 2 WCHARs). In Windows, the window procedure receives unchanged code...
(See attached test).
-- Ph.