This program demonstrates how we can use a 
Windows system tray in our own PowerBuilder
applications without a need for a callback function.

The uCallbackMessage parameter of a Shell_NotifyIcon 
Windows API Function is usually a user-defined message. 
However, we can also use a message that PowerBuilder
automatically handles as an Event - the MouseMove message.
The xPos parameter of this event contains the action.

The idea for this approach came from the program written 
by Matt Hart in VisualBasic according to the tip from 
http://www.windx.com and posted to http://matthart.com 
as a freeware.

I tested the folowing values for Mod (xPos, 256) in the
MoueMove event:

Left MouseDown:    33, 42
Left MouseUp:      36, 46
Left DoubleClick   46, 51
Right MouseDown:   43, 55
Right MouseUp:     47, 60
Right DoubleClick: 50, 65

The reason for having two different values for each event is a
different system font size selected. Listed values correspond 
to Windows NT small font and large font. If you find 
any additional values on Windows 95/98 or if you have any
other suggestions please send me a mail to:

	bojan.jurca@siol.net
	bojan.jurca@mf.uni-lj.si
	bojan.jurca@hermes.si
	bojan.jurca@mobitel.si

Bojan Jurca, 1999

*************************************************************

This software is FREEWARE. You may use it as you see fit for 
your own projects but you may not re-sell the original or the 
source code. If you redistribute it you must include this 
disclaimer. 

No warranty express or implied, is given as to the use of this
program. Use at your own risk.

*************************************************************