[Resend 2] user32: Post the WM_KEY{DOWN|UP} message whenWM_IME_KEY{DOWN|UP} message is generated by IME.

ByeongSik Jeon bsjeon at hanmail.net
Wed Apr 30 03:56:19 CDT 2008


Dmitry Timoshkov wrote:
> Your test doesn't confirm that the message is posted and not sent.
> You need to use SendMessage and examine the resulting messages, then
> run the message loop and see what messages got posted.
> 
Thank you for your comments.
Regards it.

Windows test result:
---------------------------
msg.c:5120:Message sequences by WM_IME_KEYDOWN
msg.c:6923:CBT: 3 (HCBT_CREATEWND), 007c016e, 0022f7bc
msg.c:5092:WmImeKeydownProcA: 007C016E, 0024, 00000000, 0022f820
msg.c:5092:WmImeKeydownProcA: 007C016E, 0081, 00000000, 0022f7fc
msg.c:6923:CBT: 3 (HCBT_CREATEWND), 00530270, 0022f7bc
msg.c:5092:WmImeKeydownProcA: 007C016E, 0083, 00000000, 0022f840
msg.c:5092:WmImeKeydownProcA: 007C016E, 0001, 00000000, 0022f7fc
msg.c:5092:WmImeKeydownProcA: 007C016E, 0290, 0000000d, 001c0001
msg.c:5092:WmImeKeydownProcA: 007C016E, 0102, 00000041, 00000001
msg.c:5132:expected 0290 - actual 0290
msg.c:5132:expected 0102 - actual 0102
msg.c:5142:posted message[1]: 007C016E, 0100, 0000000d, 001c0001
msg.c:5092:WmImeKeydownProcA: 007C016E, 0100, 0000000d, 001c0001
msg.c:5142:posted message[2]: 007C016E, 0102, 0000000d, 001c0001
msg.c:5092:WmImeKeydownProcA: 007C016E, 0102, 0000000d, 001c0001
msg.c:5158:expected 0100 - actual 0100
msg.c:5158:expected 0100 - actual 0100
msg.c:5158:expected 0102 - actual 0102
msg.c:5158:expected 0102 - actual 0102
msg.c:6923:CBT: 4 (HCBT_DESTROYWND), 007c016e, 00000000
msg.c:5092:WmImeKeydownProcA: 007C016E, 0002, 00000000, 00000000
msg.c:6923:CBT: 4 (HCBT_DESTROYWND), 00530270, 00000000
msg.c:5092:WmImeKeydownProcA: 007C016E, 0082, 00000000, 00000000
---------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-user32-Post-the-WM_KEY-DOWN-UP-message-when-WM_IME.diff
Type: text/x-patch
Size: 4376 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080430/22a4aafc/attachment.bin 


More information about the wine-patches mailing list