Check the result of your TTrayIcon.Show operation.

If it is false, then it failed (because the Tray are isn't loaded yet).

This is what was fixed recently.

So you can implement something like a timer which runs every minute or
so and tryes to show the icon. If it succeds, then the timer can stop
itself.


-- 
Felipe Monteiro de Carvalho
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to