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

2005-08-12 Thread Simon Brunning
On 8/11/05, Tim Roberts <[EMAIL PROTECTED]> wrote: > >>> The "spyxx.exe" tool can be used to poke around the window list to > >>>find these things. > > > >looks like that is not a free tool, apparently bundled with Microsoft > >Visual C++, so I guess I can not try that for now. > > It used to be p

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

2005-08-11 Thread Benjamin Rutt
Tim Roberts <[EMAIL PROTECTED]> writes: > Ah, but they AREN'T excluded! The code only INCLUDES windows that have > WS_EX_CONTROLPARENT set. Whoops, you are absolutely right, sorry. I deserve a few lashes of a whip now. :( The "spyxx.exe" tool can be used to poke around the window list to

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

2005-08-11 Thread Tim Roberts
On Wed, 10 Aug 2005 17:19:54 -0400, Benjamin Rutt <[EMAIL PROTECTED]> wrote: >thanks for the explanation. I of course I did google for these >things, but found the explanations puzzling; not coming from a Windows >background, I figured there was some hidden knowledge that I could >pick up from t

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

2005-08-10 Thread Benjamin Rutt
Tim Roberts <[EMAIL PROTECTED]> writes: > So, you're from that OTHER OSU? (From an Oregon State University > alumnus...) and, don't forget about that other other OSU, Oklahoma State. :-) > Google is your friend. WS_EX_TOOLWINDOW is used to create floating > toolbars, which can exist outside

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

2005-08-10 Thread Tim Roberts
On Tue, 09 Aug 2005 09:17:24 -0400, Benjamin Rutt <[EMAIL PROTECTED]> wrote: >Benjamin Rutt <[EMAIL PROTECTED]> writes: > > So, you're from that OTHER OSU? (From an Oregon State University alumnus...) >- >from win32g

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

2005-08-09 Thread Benjamin Rutt
Benjamin Rutt <[EMAIL PROTECTED]> writes: > Any ideas what I might be doing wrong? FYI, I am using a older > version of Python (2.0) and win32all (I downloaded one that went with > the 2.0 release...Add/Remove programs shows "Python 2.0 combined Win32 > extensions"). Also using Windows XP SP2.

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

2005-08-08 Thread Benjamin Rutt
"Mark Hammond" <[EMAIL PROTECTED]> writes: >> 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

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

2005-08-07 Thread Mark Hammond
> 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) & wi

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

2005-08-07 Thread Benjamin Rutt
I am trying to write a replacement for Alt-TAB in Windows XP using python Win32 extensions. I am first just trying to build a list of all tasks that are in the taskbar; on Windows, these seem to be the same tasks that are listed in the Alt-TAB box. I pieced together the following code from variou