shell32/autocomplete: Hide the AutoComplete listbox when auto-suggest is turned off.
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
5aa7dbf4d8
commit
51c5fb7817
|
@ -775,6 +775,8 @@ static HRESULT WINAPI IAutoComplete2_fnSetOptions(
|
|||
|
||||
if ((This->options & ACO_AUTOSUGGEST) && This->hwndEdit && !This->hwndListBox)
|
||||
create_listbox(This);
|
||||
else if (!(This->options & ACO_AUTOSUGGEST) && This->hwndListBox)
|
||||
hide_listbox(This, This->hwndListBox);
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue