###Function###
TrayItemGetState

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

###Syntax###
TrayItemGetState ( [controlID] )


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

###ReturnValue###
Returns the state. See <a href="TrayItemSetState.htm#StateTable">TrayItemSetState table</a> for values.

###Remarks###
None.

###Related###
TrayItemSetState, TrayItemGetHandle


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