Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Robert May <rmay@po...> - 2006-12-28 18:50:29
|
Steve Loughran wrote: > OK, this is driving me mad on and off for a few days (I keep coming back > to it)... > > #======== > > my $window = Win32::GuiTest::FindWindowLike(undef, "fubar"); > > Win32::GUI::BringWindowToTop($window); > > #======== > > This doesn't affect the window Z order at all, and yet if I click on the > window with the mouse, it raises to the top. Any ideas? I don't know for sure, but it's very likely that you can't call BringWindowToTop() on a window of another thread/process - in much the same way that it is documented that you can't call SetActiveWindow cross-thread/process. If this is the case and you really need to do it, then there are some tricks using AttachThreadInput() - but I've never tried, only ready about them. Regards, Rob. |