=?UTF-8?Q?Gabriel=20Iv=C4=83ncescu=20?=: shell32/autocomplete: Hide the listbox when the text is changed programmatically.

Alexandre Julliard julliard at winehq.org
Wed Nov 14 16:18:59 CST 2018


Module: wine
Branch: master
Commit: 4cac7da8b5f68a212314733797815bf0883e10c2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4cac7da8b5f68a212314733797815bf0883e10c2

Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date:   Tue Nov 13 13:04:05 2018 +0200

shell32/autocomplete: Hide the listbox when the text is changed programmatically.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/autocomplete.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c
index 705b28b..6d8988b 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -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:




More information about the wine-cvs mailing list