On Tue, 26 Jul 2005 10:15:58 +1000
Troy Rollo <wine(a)troy.rollo.name> wrote:
If you call SendMessageW under native Windows the
translation happens. If you
call SendMessageA it does not. This is all exactly what I would expect.
By my test, sending 0xf301 with SendMessageA gets 0xf301 on Windows, and with
SendMessageW gets 0x003f. Sending with SendMessageA on Wine gets 0x0001 and
with SendMessageW gets 0x003f.
Thanks for the clarification. Here is a patch that takes it into account.
But I don't know if and when the translation should be done in
PostThreadMessageA.
ChangeLog:
Translate Unicode<->ANSI message wParams only when window type
(ANSI/Unicode) does not match message handling function postfix
(PeekMessageA/W etc.).
-- Ph.