> I'm writing a win32 service in Python.  I'd like to add a
> tray icon displayed
> whenever the service is running.  I have played around with
> SysTrayIcon.py
> [1], but if a user logs off and logs back on, the tray icon
> disappears even
> though the service is still running.  I think the answer is
> probably getting
> my service to recreate the icon whenever a logon event
> happens.  I don't
> really know much about win32 programming, though.  Can
> someone point me in
> the right direction to solve this problem?

Services have trouble interacting with the desktop.  The general approach is
to have a dedicated taskbar application that communicates with the dedicated
service using some kind of IPC.

Mark

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to