Hi All,
I have a GUI app, written in wxPython, which allows the user to
load one or more files (always with the extension *.DATA) and to save
some data in a database. Now, I would like to assign an overlay to the
icon of the files added to the database, leaving the other files (with
the same f
Andrea Gavana wrote:
> 1) I have looked the implementation mentioned in the link above, but
> it is a bit unclear to me: how do I actually *use* this class? All my
> users have the extension "*.DATA" associated with the Wordpad or
> Notepad or similar icons, as they use these editors to open these
I am trying to determine whether an application is reporting "Not Responding"
(like what the task manager shows). I'm not married to the IsHungAppWindow
method, it was just suggested to me, and seemed like the right path to go down.
My questions are:
1. Are there any win32 Python extensions t
Dahlstrom, Roger wrote:
>
> I am trying to determine whether an application is reporting "Not
> Responding" (like what the task manager shows). I'm not married to
> the IsHungAppWindow method, it was just suggested to me, and seemed
> like the right path to go down.
>
It is the same API that T
Dahlstrom, Roger wrote:
> My questions are:
> 1. Are there any win32 Python extensions that expose this? If so,
> which ones?
I doubt it; it's not available prior to Windows 2000, and MSDN says they
might decide to change it later.
> 2. If there are not extensions, does anyone know what th
Dahlstrom, Roger wrote:
> Yeah - I see the MSDN page and the HWND parameter.
> I tried the following data types: C_short, c_ushort, c_int, c_uint,
> c_long, c_ulong, c_longlong, c_ulonglong.
ctypes includes a handy wintypes subpackage:
from ctypes import wintypes
print wintype.HWND
So, in pri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden
Sent: Monday, April 14, 2008 3:10 PM
Cc: Python-Win32 List
Subject: Re: [python-win32] IsHungAppWindow or equivalent
Dahlstrom, Roger wrote:
> Yeah - I see the MSDN page and the HWND parameter.
Hi Tim,
On Mon, Apr 14, 2008 at 5:07 PM, Tim Golden wrote:
> Andrea Gavana wrote:
> > 1) I have looked the implementation mentioned in the link above, but
> > it is a bit unclear to me: how do I actually *use* this class? All my
> > users have the extension "*.DATA" associated with the Wordpad or
I've been meaning to look at how this works for some time,
so I took a few minutes to cook up an example (attached).
Roger
import win32com
import pythoncom
from win32com.shell import shell, shellcon
import win32api, win32con, winerror
class SIOI:
_reg_clsid_='{02844251-42C2-44CA-B