Contents:
---------

- About this control.
- How to install.
- Commands list.
- Example.
- Distribution and status.
- Comments and bugs.
- About the Author.



About this control.
-------------------

Systray.ocx is an ActiveX control which will place an icon to Systray.
Features in this version are:
	
	- Icon animation
	- Change icon betwen 2 icon
	- Event handling



How to install.
---------------

Copy the ocx and oca file to system directory. Then type in the Run windows the following command:

	regsvr32 C:\Windows\System\Systray.ocx



If you want to uninstall this ActiveX control, type the following command in the run window:

	regsvr32 /u C:\Windows\System\Systray.ocx

then delete the Systray.ocx and Systray.oca



Command list:
-------------

object.addIcon 		= Display icon in the tray.
object.ChangeIcon	= Change from first icon to second icon.
object.removeIcon 	= Remove icon from tray.
object.OSVersion	= Get Version of OS.
object.IconAnimation	= To activate/disactivate icon animation.
object.interval		= To set the interval for the icon animation in milliseconds.



Example:
--------

Option Explicit

Private Sub Form_Load()
  '---------------------------------------------------------------------------
  'Firrst, You have to set the icons property in the property page,
  'If the first icons name is null or nothing so it will display an empty
  'space in the systray.
  '---------------------------------------------------------------------------
  'ToolTipText for the icons
  SysTray1.ToolTipIcon1 = "First Icon"
  SysTray1.ToolTipIcon2 = "Second Icon"
  'To turn on the animation, default = False.
  SysTray1.IconAnimation = True
  'Interval in milliseconds, to arrange the animation.
  SysTray1.Interval = 1000
  'This will put icon in Tray.
  SysTray1.AddIcon
End Sub

Private Sub Form_Unload(Cancel As Integer)
  'To remove icon from systray
  SysTray1.RemoveIcon
End Sub



Distribution and status.
------------------------

This program is freeware. It means that you can copy, use and distribute this program as much as you like, as long as it is not intended for commercial purposes.



For comments and bugs:
----------------------

Send email to ebedsat@telkom.net. 
Please write in the subject area the name of this program.



About The Author.
-----------------

Ebed Soedjatmoko.
SEMARANG, INDONESIA

Email: ebedsat@telkom.net