Control Options +hwndOutputVar no Error raised

Discuss the future of the AutoHotkey language
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Control Options +hwndOutputVar no Error raised

18 Jun 2017, 04:49

Code: Select all

(gui:=GuiCreate()).OnEvent("Close","GuiClose")
gui.AddListView("w200 h200 hwndHListView")
gui.Show()
Return
GuiClose(){
	ExitApp
}
Above code does not raise an error for hwndHListView, but since +hwnd is not supported anymore we get unexpected result.
Error for GuiCreate is already raised so it should be raised for controls as well.
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Control Options +hwndOutputVar no Error raised

18 Jun 2017, 22:08

Height values aren't validated. I'm pretty sure you're just setting the height to 0.

Return to “AutoHotkey Development”

Who is online

Users browsing this forum: OpalMonkey and 21 guests