Code: Select all
#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%
Gui Add, ListView, x53 y47 w356 h150 AltSubmit glv vlv, ListView
Gui Add, Button, x233 y112 w80 h23 vbt, &OK
Gui Show, w481 h266, Window
loop, 20
lv_add("",a_index)
Return
lv:
guicontrol, show, bt
return
GuiEscape:
GuiClose:
ExitApp
Code: Select all
#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%
Gui Add, ListView, x53 y47 w356 h150 AltSubmit glv vlv, ListView
Gui Show, w481 h266, Window
loop, 20
lv_add("",a_index)
Return
lv:
Gui Add, Button, x233 y112 w80 h23 gbt, &OK
winset, redraw
;guicontrol, show, bt
return
bt:
MsgBox, OK
return
GuiEscape:
GuiClose:
ExitApp