[python-win32] build list of all tasks like Alt-TAB box

Mark Hammond mhammond at skippinet.com.au
Mon Aug 8 02:03:57 CEST 2005


> Does anyone know the appropriate functions to call to narrow down
> these window handles to just those that are present in the taskbar?

Checking the window is a "top-level" window gives a better result for me.
ie:

    if IsWindowVisible(hwnd) and not GetWindowLong(hwnd, win32con.GWL_STYLE)
& win32con.WS_CHILD:

Mark



More information about the Python-win32 mailing list