win32gui.Shell_NotifyIcon (removing icons)

ben.flynn at cis.co.uk ben.flynn at cis.co.uk
Wed Feb 9 12:32:18 EST 2000


I am currently trying to remove use the Shell_NotifyIcon command in
order to remove the clock from the bottom right hand corner of a windows
98 machine (in order to automate the removal of the clock on 2500
laptops via a piece of python code running when a user logs on).
Firstly is this the best of doing this (via Python)?  If so I have got
to the stage of implementing the command

win32gui.Shell_NotifyIcon(win32gui.NIM_DELETE, nid)

What I need to know is how I can interrogate the system tray in order to
obtain the nid of the clock to fill the second argument in the tuple.
Any ideas ?

Many thanks


Ben.


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list