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  //   
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to