Override Winforms ComboBox Autocomplete Suggest Rule

后端 未结 3 1493
暖寄归人
暖寄归人 2020-12-05 08:30

I\'m trying to modify the behaviour of a Windows.Forms ComboBox so that the AutoComplete drop down displays items according to the rules I specify.

By default, if you

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 08:54

    Before Windows Vista, the Autocomplete object match candidates with prefix only, so you need to cook your own.

    If you need to reset the suggestion list when it is visible, use IAutoCompleteDropDown::ResetEnumerator.

提交回复
热议问题