System Tray Demo
Provided by SoftCircuits Programming
http://www.softcircuits.com
P.O. Box 16262, Irvine, CA 92623
Redistributed by Permission.

This program demonstrates how to display an icon on the system taskbar
(tray notification area) under Windows 95 and later, or Windows NT 4.0 or
later. The program first determines it is running under one of these
operating systems and terminates if it is not.

Although you do not need a subclassing control to place an icon on the
system taskbar, you will need one to intercept all the possible messages
that the tray notification area may send. This program uses MsgHook.

The program is a simple one. It has 4 possible icons each indicating a
particular level of memory usage. This icon is updated each time the
timer control fires. If the user double-clicks the icon or selects Open
from the context-sensitive menu, the main form is displayed which
contains more detailed information about the current memory usage.
