mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
shell32/autocomplete: Hide the listbox when the text is changed programmatically.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ead7e637c0
commit
4cac7da8b5
1 changed files with 3 additions and 0 deletions
|
@ -627,6 +627,9 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
|||
? autoappend_flag_yes : autoappend_flag_no);
|
||||
return ret;
|
||||
case WM_SETTEXT:
|
||||
if (This->options & ACO_AUTOSUGGEST)
|
||||
hide_listbox(This, This->hwndListBox, TRUE);
|
||||
break;
|
||||
case WM_CUT:
|
||||
case WM_CLEAR:
|
||||
case WM_UNDO:
|
||||
|
|
Loading…
Reference in a new issue