Commit 4cac7da8 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

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

parent ead7e637
...@@ -627,6 +627,9 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, ...@@ -627,6 +627,9 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
? autoappend_flag_yes : autoappend_flag_no); ? autoappend_flag_yes : autoappend_flag_no);
return ret; return ret;
case WM_SETTEXT: case WM_SETTEXT:
if (This->options & ACO_AUTOSUGGEST)
hide_listbox(This, This->hwndListBox, TRUE);
break;
case WM_CUT: case WM_CUT:
case WM_CLEAR: case WM_CLEAR:
case WM_UNDO: case WM_UNDO:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment