shell32/autocomplete: Implement ResetEnumerator.
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
b6d8ea6253
commit
7348ffd9bd
|
@ -24,8 +24,6 @@
|
||||||
- implement ACO_SEARCH style
|
- implement ACO_SEARCH style
|
||||||
- implement ACO_FILTERPREFIXES style
|
- implement ACO_FILTERPREFIXES style
|
||||||
- implement ACO_RTLREADING style
|
- implement ACO_RTLREADING style
|
||||||
- implement ResetEnumerator
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -1041,9 +1039,15 @@ static HRESULT WINAPI IAutoCompleteDropDown_fnResetEnumerator(
|
||||||
{
|
{
|
||||||
IAutoCompleteImpl *This = impl_from_IAutoCompleteDropDown(iface);
|
IAutoCompleteImpl *This = impl_from_IAutoCompleteDropDown(iface);
|
||||||
|
|
||||||
FIXME("(%p): stub\n", This);
|
TRACE("(%p)\n", This);
|
||||||
|
|
||||||
return E_NOTIMPL;
|
if (This->initialized)
|
||||||
|
{
|
||||||
|
free_enum_strs(This);
|
||||||
|
if ((This->options & ACO_AUTOSUGGEST) && IsWindowVisible(This->hwndListBox))
|
||||||
|
autocomplete_text(This, This->hwndEdit, autoappend_flag_displayempty);
|
||||||
|
}
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue