user32: Send WM_IME_SETCONTEXT message when the window is focusedor unfocused.

ByeongSik Jeon bsjeon at hanmail.net
Tue Apr 29 10:21:37 CDT 2008


Dmitry Timoshkov wrote:
> "ByeongSik Jeon" <bsjeon at hanmail.net> wrote:
> 
> > --- a/dlls/user32/tests/msg.c
> > +++ b/dlls/user32/tests/msg.c
> > @@ -10156,7 +10156,7 @@ static const struct message wm_lb_click_0[] =
> >      { HCBT_SETFOCUS, hook },
> >      { WM_KILLFOCUS, sent|parent },
> >      { WM_IME_SETCONTEXT, sent|wparam|optional|parent, 0 },
> > -    { WM_IME_SETCONTEXT, sent|wparam|optional, 1 },
> > +    { WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 1 },
> 
> Did you test this change under Windows? At the time I've added this test
> it passed cleanly under up to date XP SP2.
> 
Yes, I did. I have tested with Windows XP SP3(+Korean MUI). This
platform is the IME enabled version. I attached log file.

$ grep 0x0281 user32_crosstest.msg.log
msg.c:10290: Test failed: WM_LBUTTONDOWN 0: the msg 0x0281 should NOT
have been sent by DefWindowProc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: user32_crosstest.msg.log
Type: text/x-log
Size: 499204 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080430/ad9222b1/attachment-0001.bin 


More information about the wine-devel mailing list