RE: Preventing Windows from Stealing Focus



Sean
07-09-2005, 11:45 PM
This should fix it. Did on mine,.
http://support.microsoft.com/default.aspx?scid=kb;en-us;313176&Product=winxp


"Mike" wrote:

> I am having exactly the same problem with only one of my two computers, both
> of which have SP-2. I have tried all the same things except for creating a
> new user profile. I want to know if the real problem is a corrupted user
> profile or a bug in SP-2. Evidently many people are experiencing the same
> problem. I already have several posts about this and for now have frankly
> given up. I wish I had the answer. However I will try creating a new user
> profile and see if that works. I just wanted you to know that you are not
> alone in this. Regards,
>
> "Colin Higbie" wrote:
>
> > I hate when a window steals the focus from where I'm typing. I don't care if
> > it wants to tell me my house is on fire, it doesn't do anyone any good to
> > pop up a window when I'm typing, because I inevitably hit the keyboard
> > shortcut to close the window and miss the message altogether. This is
> > especially annoying if I'm downloading a big file in IE - the window pops up
> > to tell me that it's done downloading and is copying the file. As I'm typing
> > away, I trigger the cancel button throwing out the entire download,
> > potentially one that took hours.
> >
> > Yes, I know TweakUI includes a setting to "Prevent Application from Stealing
> > Focus," but it doesn't stick. Every time I restart my computer, it's back to
> > being turned off.
> >
> > I found the setting in the Registry - HKCU\Control
> > Panel\Desktop\ForegroundLockTimeout. I set that to a decimal 200,000 (that's
> > what TweakUI does). It sticks around for a while, but on restart it always
> > gets reset to 0.
> >
> > What could cause that and how do I prevent it? And why on Earth is it not
> > the default? Does anyone like other windows to steal their focus?
> >
> > Thanks,
> > Colin
> >
> >
> >


RE: Preventing Windows from Stealing Focus