Page 1 of 1

Control Options +hwndOutputVar no Error raised

Posted: 18 Jun 2017, 04:49
by HotKeyIt

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.

Re: Control Options +hwndOutputVar no Error raised

Posted: 18 Jun 2017, 22:08
by lexikos
Height values aren't validated. I'm pretty sure you're just setting the height to 0.