Re: Force warning into focus ?
From: Rob Kennedy (me3_at_privacy.net)
Date: 05/26/04
- Previous message: Jezza: "Re: Bug in Turbo Grep 5.5 and Windows 2000/XP?"
- In reply to: Walker: "Re: Force warning into focus ?"
- Next in thread: Walker: "Re: Force warning into focus ?"
- Reply: Walker: "Re: Force warning into focus ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 May 2004 10:19:54 -0500
Walker wrote:
> I have found a funny (and quite dirty :-) way around this.
>
> If an application minimizes and then restores itself it is now in the
> foreground.
> It does not look pretty and it takes a second or so, but it works.
Why solve it through dirty tricks when you can do it the right way?
You've already said that your applications are communicating with each
other -- cooperating, I assume. That's exactly the scenario that
AllowSetForegroundWindow and SetForegroundWindow's new behavior are
designed for.
> This can deep down Microsoft have something to do with that the minimized
> app. asks the system to bring a form into focus ?
Um, would you like to try writing the beginning of that sentence again?
I wonder whether the behavior you've witnessed is unique to Borland
products or whether it applies to all programs. (Applications made with
Delphi and C++ Builder have a different concept of what a program's
"main" window is.)
-- Rob
- Previous message: Jezza: "Re: Bug in Turbo Grep 5.5 and Windows 2000/XP?"
- In reply to: Walker: "Re: Force warning into focus ?"
- Next in thread: Walker: "Re: Force warning into focus ?"
- Reply: Walker: "Re: Force warning into focus ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|