﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2286	GuiCtrtlGetState without a controlID parameter runs but aborts AutoIt	anonymous	Jon	"GuiCtrtlGetState without a controlID parameter runs but aborts AutoIt, with rc:-1073741819. This was my test script:
{{{
#include <GuiConstants.au3>
GUICreate("" My GUI input"")
GUICtrlCreateInput("""", 10, 35, 300, 20)
$btnTest = GUICtrlCreateButton(""Test"",30,80)
 GUISetState()

 $msg = 0
 While True
   $msg = GUIGetMsg()
    Switch $msg
      case $GUI_EVENT_CLOSE
         Exit
      Case $btnTest
         GUICtrlGetState()
   EndSwitch
   WEnd
}}}

It aborts when the Test button is clicked.

It is illogical that GuiCtrlGetState be runnable without a parameter, because it must get the state of a control.

The controlID parameter should be required.

Guiness has suggested that I report this bug."	Bug	closed	3.3.9.10	AutoIt	3.3.9.4	None	Fixed		
