Click to See Complete Forum and Search --> : Acces the Systray from a NT Service


Guy
May 31st, 1999, 12:47 PM
Hello!

I'm using a NT Service application to launch another app with CreateProcess() and it is working well. But the second app need access to the systray and the problem is that the icon registration is done (by my program) before the Systray (or taskbar) is even created so the call failed. What I need, is a way to detect that a user logged on or a way to know that the taskbar is created and then put my icon on it. Does anyone know how to do that without polling each second for the taskbar creation (using FindWindow())???

Thank you in advance!

Guy Letourneau
gletourneau@ordinox.com