How would a person go about making a search box that gives query suggestions? The idea is to make a search assist built into an input box. Something like you see on most search engines like Yahoo or Google. I would like to pull the search suggestions from an already existing .ini file.
I was thinking about trying to use GUICtrlCreateCombo in a loop that is continually refreshing its list of items depending on what is typed in the box. But I am not sure if there is a way to make the GUICtrlCre
Yes, you just have to find another way to detect if the Enter button is pressed. That can be done using HotKeySet. Here is the resulting code:
#include <GuiConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GuiComboBox.au3>
#include <Misc.au3>
;Dim $sString = "Hello|world|AutoIt|rules|and|more|some|data"
HotKeySet("{ENTER}", "EnterPressed")
$hGUI = GUICreate("AutoComplete Combo Demo", 300, 200)
$filelist = IniReadSection("files.ini", "files")
Global $sString