[python-win32] Win32 service with tray icon
Mark Hammond
mhammond at skippinet.com.au
Wed Apr 4 02:01:51 CEST 2007
> 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
More information about the Python-win32
mailing list