[python-win32] Finding out whether there are any visible windows

2011-06-23 Thread Greg Ewing
In PyGUI I have a need to find out whether the application has any visible windows, so I can quit when the last visible window is closed. However, I can't seem to find a way of iterating over all the windows belonging to the application, without also getting windows belonging to *other*

Re: [python-win32] Finding out whether there are any visible windows

2011-06-23 Thread Greg Ewing
Tim Golden wrote: Just for information, my nearly-what-you-want is here: http://timgolden.me.uk/python/win32_how_do_i/find-the-window-for-my-subprocess.html Yep, I came up something similar -- was just wondering whether there was some more obvious way that I was missing. Seems not. Thanks,