On Apr 11, 11:18 pm, Ross Ridge <[EMAIL PROTECTED]> wrote: > rdahlstrom <[EMAIL PROTECTED]> wrote: > >Basically, I'm looking for something similar to the Process.Responding > >property in System.Diagnostics... > > You probably want to use IsHungAppWindow(): > > IsHungAppWindow Function > > You call the IsHungAppWindow function to determine if > Microsoft Windows considers that a specified application is not > responding. An application is considered to be not responding > if it is not waiting for input, is not in startup processing, > and has not called PeekMessage within the internal timeout period > of 5 seconds. > > Syntax > > BOOL IsHungAppWindow( > HWND hWnd > ); > > ... > > You can use EnumWindows() to enumerate the all the top level windows. > > Ross Ridge > > -- > l/ // Ross Ridge -- The Great HTMU > [oo][oo] [EMAIL PROTECTED] > -()-/()/ http://www.csclub.uwaterloo.ca/~rridge/ > db //
Holy crap, so simple, yet so awesome. Thanks! -- http://mail.python.org/mailman/listinfo/python-list