Here is sample code:
Code: Select all
#SingleInstance force
Gui, Add, DropDownList, vList gDropDownChanged Sort, A|B|C|D|E
Gui, Add, Text, w200 vText, Choose an option in the dropdown
Gui, Show, w250 h100
return
DropDownChanged:
Gui, Submit, NoHide
Gui, +Disabled
GuiControl, , Text, Option selected: %List%. Updating the Gui...
Sleep, 2000 ; simulate the Gui doing some update
GuiControl, , Text, Gui updated
Gui, -Disabled
return
Is "Gui +Disabled" supposed to prevent Gui interaction with the keyboard ?
Thanks for input on this.