[python-win32] dispatch and minimize the window?

Tim Roberts timr at probo.com
Thu Nov 20 19:20:13 CET 2008


Pahud wrote:
>
> I am trying to use win32com.client.Dispatch() to run my program but I
> would like to minimize it in the system tray. What can I do?

Your message could mean several things.

Are you saying that you have written a COM server, and when someone
starts your COM server using Dispatch, you want to put an icon in the
tray?  If so, it's entirely up to your COM server to do this.  There are
a number of example on Google of how to put an icon in the tray.  Here's
one:
    http://www.brunningonline.net/simon/blog/archives/SysTrayIcon.py.html

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list