###Function###
TraySetState

###Description###
Sets the state of the tray icon.

###Syntax###
TraySetState ( [ flag ] )


###Parameters###
@@ParamTable@@
flag
	[optional] A combination of the following:
	1 = Shows the tray icon (default)
	2 = Destroys/Hides the tray icon
	4 = Flashes the tray icon
	8 = Stops tray icon flashing
	16 = Resets the icon to the defaults (no flashing, default tip text)
@@End@@


###ReturnValue###
None.

###Remarks###
This function overrides the "TrayIconHide"-option and "#NoTrayIcon"-setting.
The normal and pause tray icon are NOT reset by this function!


###Related###
TrayItemSetState, TraySetIcon, TraySetPauseIcon


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