Alec Bennett wrote:
> I'm ending task on a process that has a system tray icon, which works but it 
> leaves an icon behind
> in the system tray, which only goes away if I mouse over it. Can anyone think 
> of a way to force a
> refresh of the system tray without mousing over it?
>
> I know this is adding duct tape over duct tape, but the only way I've found 
> to close this program
> from Python is with an (automated) end task.
>   

Mousing over is really the only way.  If you don't get a chance to clean 
up after yourself, no one else can do it.

You're talking about a fairly serious design flaw here.  What is 
preventing you from shutting down in an orderly way?

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

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

Reply via email to