Hi Tim G.,
> > I can get the handle by doing this:
> >
> > hwnd = win32gui.FindWindow('IEFrame',None)
> >
> > But if there's multiple Explorer windows open, I may not get the
> > window I want. That's why I would like to create my own so
> I can have
> > what amounts to an "exclusive" hand
Alec,
>
> Date: Tue, 22 Jan 2008 23:26:50 -0800 (PST)
> From: Alec Bennett <[EMAIL PROTECTED]>
> Subject: Re: [python-win32] Creating a process and getting a handle
> To: Tim Roberts <[EMAIL PROTECTED]>, Python-Win32 List
>
> Message-ID: <[EMAIL PR
Tim,
Mike Driscoll wrote:
> > I am trying to get a handle on an external process (Internet Explorer
6 in
> > this case) that I open using win32process. I need the handle so that I
can
> > make said process the top window.
> When you call CreateProcess, that window should automatically become th
Mike Driscoll wrote:
> Hi,
>
> I am trying to get a handle on an external process (Internet Explorer 6 in
> this case) that I open using win32process. I need the handle so that I can
> make said process the top window. Here's what I've tried so far:
>
>
>
> import win32process
> import win32gui
Please post what you find on this, I'm curious too.
If you do go the enum windows route, It thought I'd
post my notes on this since I recently got it working.
It's somewhat confusing (for me at least) since it
uses a callback:
# Callback function for findWindowHandle
def windowEnumerationHandler
Mike Driscoll wrote:
> I am trying to get a handle on an external process (Internet Explorer 6 in
> this case) that I open using win32process. I need the handle so that I can
> make said process the top window.
When you call CreateProcess, that window should automatically become the
top window.
Hi,
I am trying to get a handle on an external process (Internet Explorer 6 in
this case) that I open using win32process. I need the handle so that I can
make said process the top window. Here's what I've tried so far:
import win32process
import win32gui
info = win32process.CreateProcess(None,