###Function###
GUICtrlGetState

###Description###
Gets the current state of a control

###Syntax###
GUICtrlGetState ( [controlID] )


###Parameters###
@@ParamTable@@
controlID
	[optional] The control identifier (controlID) as returned by a <a href="..\guiref\GUICtrlCreate.htm">GUICtrlCreate...</a> function.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns the state. See <a href="GUICtrlSetState.htm">GUICtrlSetState</a> for values.
Failure:	Returns -1 if control is not defined.
@@End@@


###Remarks###
As opposed to <a href="GUICtrlRead.htm">GUICtrlRead</a> this function returns only the state of a control (disabled/hidden/etc)

Exceptions:
For ListView controls it returns the number of the clicked column.

###Related###
GUICtrlRead, GUICtrlSetState


###Example###
@@IncludeExample@@
