mirror of
https://github.com/reactos/reactos.git
synced 2025-05-04 18:31:40 +00:00
[BROWSEUI] AutoComplete: Close before opening IME candidates (#7115)
The auto-complete window and the IME candidate window were conflicting each other. JIRA issue: CORE-19268 Call HideDropDown method when processing IMN_OPENCANDIDATE message.
This commit is contained in:
parent
2b3c2957e6
commit
d7289cf2e9
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#include <imm.h> // For IMN_OPENCANDIDATE
|
||||
#include <process.h> // _beginthreadex
|
||||
|
||||
/*
|
||||
|
@ -344,6 +345,10 @@ LRESULT CAutoComplete::EditWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
|
|||
if (hwndGotFocus != m_hwndEdit && hwndGotFocus != m_hWnd)
|
||||
HideDropDown();
|
||||
break;
|
||||
case WM_IME_NOTIFY:
|
||||
if (wParam == IMN_OPENCANDIDATE)
|
||||
HideDropDown();
|
||||
break;
|
||||
case WM_SETTEXT:
|
||||
if (!m_bInSetText)
|
||||
HideDropDown(); // it's mechanical WM_SETTEXT
|
||||
|
|
Loading…
Reference in a new issue