Re: [Tutor] win32gui, SetForegroundWindow() and setting focus

2008-03-16 Thread Alan Gauld
"Scott Nelson" <[EMAIL PROTECTED]> wrote > I'd like to programmatically set which window has the focus. But > win32gui.SetForegroundWindow(hwnd) seems to be what I'm looking for, > but, it isn't working quite as I expect meaning I probably have a > bad > assumption. Thats pretty common with wi

Re: [Tutor] win32gui, SetForegroundWindow() and setting focus

2008-03-16 Thread Tim Golden
Scott Nelson wrote: > Greetings all... > > I'm looking to use the win32api and win32gui modules to do a bit of > Windows tinkering (win2k) and I've hit a snag. > > I'd like to programmatically set which window has the focus. But > win32gui.SetForegroundWindow(hwnd) seems to be what I'm looking f

[Tutor] win32gui, SetForegroundWindow() and setting focus

2008-03-16 Thread Scott Nelson
Greetings all... I'm looking to use the win32api and win32gui modules to do a bit of Windows tinkering (win2k) and I've hit a snag. I'd like to programmatically set which window has the focus. But win32gui.SetForegroundWindow(hwnd) seems to be what I'm looking for, but, it isn't working quite as