imm32/tests: Windows does post WM_IME_COMPOSITION messages sometimes.

This commit is contained in:
Greg Geldorp 2011-01-20 11:41:11 +01:00 committed by Alexandre Julliard
parent 50a25a8ebb
commit 2309d9f06a
1 changed files with 1 additions and 3 deletions

View File

@ -223,9 +223,7 @@ static void test_ImmNotifyIME(void) {
msg_spy_flush_msgs(); msg_spy_flush_msgs();
ImmNotifyIME(imc, NI_COMPOSITIONSTR, CPS_CANCEL, 0); ImmNotifyIME(imc, NI_COMPOSITIONSTR, CPS_CANCEL, 0);
ok(!msg_spy_find_msg(WM_IME_COMPOSITION), "Windows does not post " msg_spy_flush_msgs();
"WM_IME_COMPOSITION in response to NI_COMPOSITIONSTR / CPS_CANCEL, if "
"the composition string being canceled is non empty.\n");
/* behavior differs between win9x and NT */ /* behavior differs between win9x and NT */
ret = ImmGetCompositionString(imc, GCS_COMPSTR, resstr, sizeof(resstr)); ret = ImmGetCompositionString(imc, GCS_COMPSTR, resstr, sizeof(resstr));