Re: [python-win32] IsHungAppWindow or equivalent

2008-04-14 Thread Dahlstrom, Roger
-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 parame

Re: [python-win32] IsHungAppWindow or equivalent

2008-04-14 Thread Tim Golden
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

Re: [python-win32] IsHungAppWindow or equivalent

2008-04-14 Thread Dahlstrom, Roger
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

Re: [python-win32] IsHungAppWindow or equivalent

2008-04-14 Thread Tim Roberts
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