user32: Use the PostMessage() for WM_IME_KEY{DOWN|UP} message
ByeongSik Jeon
bsjeon at hanmail.net
Mon Apr 21 00:03:27 CDT 2008
* MS Spi++ test result, PostMessage is right.
* Message generation sequence:
WM_IME_KEYDOWN -> WM_KEYDOWN -> WM_CHAR
WM_CHAR is genetated in the TranslateMessage() when we use
PostMessage() function.
* Real case: MS IME 2002, MS IME 2003, Saenaru
In the preedit mode, when we press the "ENTER" key, Korean
Native IME generate the WM_IME_KEYDOWN(wParam==VK_RETURN) message.
This message is translated to the WM_CHAR(wParam==VK_RETURN)
message finally.
---
dlls/user32/defwnd.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9b951563fb03d15e3a7994ea05b103e4a1b4fc31.diff
Type: text/x-patch
Size: 1064 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080421/b976c508/attachment.bin
More information about the wine-patches
mailing list