Does mousing over the icon not make it disappear after it's killed? If you can
get the handle to the process, say via EnumWindows, you can user the
TerminateProcess API call.
Bobby
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gregory Piñero
Sent: Tuesd
Ok I figured out how to do it:
Here's the code I made mostly from copying the examples. If anyone
could tell me how the code works, that would still be appriciated, for
example why/how do I need this function _MyCallback?
-Greg
My code:
import sys
import win32process, win32api, win32pdhutil, w
Hi,
On 8/1/06, Gregory Piñero <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I've got this little yellow icon sitting in my system tray:
> http://i7.tinypic.com/21n08ig.png
>
> I'd like to use the windows API to somehow ask it to shutdown? If a
> system tray icon counts as a window then perhaps I coul
Hi guys,
I've got this little yellow icon sitting in my system tray:
http://i7.tinypic.com/21n08ig.png
I'd like to use the windows API to somehow ask it to shutdown? If a
system tray icon counts as a window then perhaps I could get its hwnd
and do something like:
win32gui.PostMessage(hwnd, win32