Code: Select all
(gui:=GuiCreate()).OnEvent("Close","GuiClose")
gui.AddListView("w200 h200 hwndHListView")
gui.Show()
Return
GuiClose(){
ExitApp
}
Error for GuiCreate is already raised so it should be raised for controls as well.
Code: Select all
(gui:=GuiCreate()).OnEvent("Close","GuiClose")
gui.AddListView("w200 h200 hwndHListView")
gui.Show()
Return
GuiClose(){
ExitApp
}
Return to “AutoHotkey Development”
Users browsing this forum: OpalMonkey and 21 guests