Hello Jack,
What I do is at regulary intervals (30 seconds) check if the taksbar is
there: FindWindow('Shell_TrayWnd', nil);
If it is then destroy the timer and create the trayicon. Also when User
log's off the way around.
You find an example on my site together with a little class to create an
NT Service from a normal GUI exe (same *.exe can run as service and as
normal GUI, very easy for debugging and other purposes).
---
Rgds, Wilfried
http://www.mestdagh.biz
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk