Re: [python-win32] Bringing a window to the front.

2006-02-08 Thread Greg Landrum
Mark Mc Mahon sent me personal email with the answer that I ought to be using SetForegroundWindow. For this I needed a window handle, and for that I think I needed a window name. Since I can't be sure of the full window name (it changes based on the active document), I wrote the following function

Re: [python-win32] Bringing a window to the front.

2006-02-08 Thread Tim Golden
[Greg Landrum] | >From my python program I'm working with a 3rd party application using | the win32 extensions and COM. I'd like to be able to pop that | application to the front (i.e. to ensure that it's visible and | unobscured by other windows). | | Is there some way to do this? Have a look a

[python-win32] Bringing a window to the front.

2006-02-08 Thread Greg Landrum
Hi all, >From my python program I'm working with a 3rd party application using the win32 extensions and COM. I'd like to be able to pop that application to the front (i.e. to ensure that it's visible and unobscured by other windows). Is there some way to do this? Thanks, -greg __