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

Dmitry Timoshkov dmitry at codeweavers.com
Wed Apr 30 01:49:01 CDT 2008


"ByeongSik Jeon" <bsjeon at hanmail.net> wrote:

> @@ -4496,6 +4551,9 @@ static void test_messages(void)
>  
>      DestroyWindow(hwnd);
>      flush_sequence();
> +
> +    /* Message sequences by WM_IME_KEYDOWN */
> +    test_wm_ime_keydown();
>  }

test_messages() is not a proper place to add new tests.

Please have a look at test_combobox_messages() how to test
key down/up behaviour.

In order to check posted messages, you need to do what other tests
do: run a GetMessage/TranslateMessage/DispatchMessage loop, and let
the window proc handle the messages.

-- 
Dmitry.



More information about the wine-devel mailing list