comctl32/edit: Handle IME composition result string only when EIMES_GETCOMPSTRATONCE...
commita1aff0ec8c88ee8dabb7ea7c77cb35de91139cae
authorZhiyi Zhang <zzhang@codeweavers.com>
Fri, 12 Aug 2022 03:32:54 +0000 (12 11:32 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 16 Aug 2022 20:27:53 +0000 (16 22:27 +0200)
treebd5c53e9f6891fe8d2cd8eefec9c2dd622e8052c
parentb3b1cec07703c2ae2c330465d9d6fb7ac1794497
comctl32/edit: Handle IME composition result string only when EIMES_GETCOMPSTRATONCE is set.

If EIMES_GETCOMPSTRATONCE is not set, WM_IME_COMPOSITION with LPARAM set to GCS_RESULTSTR should be
passed to the default window procedure according to MSDN.

Fix some windows based on edit control not being able to input Chinese.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
dlls/comctl32/edit.c