Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Stuff that "pop-up"

15 Apr 2010   #1
Phrosen

Windows 7 Professional x64
 
 
Stuff that "pop-up"

Hi.
I have many times had things (such as updates) running in the background, while doing other things (such as typing on forums).
Many times have these things managed to pop-up with questions and whatnot.

For example, I start an update on a game, tab out and start typing in another window. The update is nearly finished and it throws up one of those windows that looks exactly like the one that I tabbed out of, only this window is "new" - so it ends up on top. Usually at that moment I manage to press 'space' or 'enter' or something similar. The default (and usually only) button of these update-windows is 'cancel', effectively ending the update and I have to start all over.

Now I'm wondering if there's a way to prevent stuff from popping up in my face whenever it feels like?
I would like to see a gentle flash on the taskbar when something wants my attention, instead of getting a window with a cancel button in my face.


My System SpecsSystem Spec
.
15 Apr 2010   #2
not so gray matter

W7 Ult. x64 | OS X
 
 

Most programs can disable pop up messages via the configuration. Anti-Viruses and Firewalls do this through something called Gaming or Silent Mode. I don't think there's a blanket application pop up blocker. You'll need to go through each program that bothers you and disable it's notification options.

-silentandgamingmode.png


My System SpecsSystem Spec
15 Apr 2010   #3
CommonTater

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by Phrosen View Post
Hi.
I have many times had things (such as updates) running in the background, while doing other things (such as typing on forums).
Many times have these things managed to pop-up with questions and whatnot.

For example, I start an update on a game, tab out and start typing in another window. The update is nearly finished and it throws up one of those windows that looks exactly like the one that I tabbed out of, only this window is "new" - so it ends up on top. Usually at that moment I manage to press 'space' or 'enter' or something similar. The default (and usually only) button of these update-windows is 'cancel', effectively ending the update and I have to start all over.

Now I'm wondering if there's a way to prevent stuff from popping up in my face whenever it feels like?
I would like to see a gentle flash on the taskbar when something wants my attention, instead of getting a window with a cancel button in my face.
This is called "stealing focus" and you're right it's as annoying as all get out....

This is a registry tweak so precaution applies!
In regedit path into...

HKEY_CURRENT_USER\Control Panel\Desktop

Now either adjust or create the followind DWORD values...

ForegroundFlashCount == 5
ForegroundLockTimerout == 10000

This should prevent anything from stealing focus for 10 seconds after your last activity in the foreground window and make the taskbar icon flash 5 times.
My System SpecsSystem Spec
.

15 Apr 2010   #4
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by CommonTater View Post
This should prevent anything from stealing focus for 10 seconds after your last activity in the foreground window and make the taskbar icon flash 5 times.
Except these "popups" the OP is referring too. If the developer of these applications followed the Windows API, then they would have not stolen focus while the user is typing. However, these developers are not following the API and thus believe there application is so important....The problem lies with the application developers and only they can fix it.
My System SpecsSystem Spec
15 Apr 2010   #5
CommonTater

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by logicearth View Post
Quote   Quote: Originally Posted by CommonTater View Post
This should prevent anything from stealing focus for 10 seconds after your last activity in the foreground window and make the taskbar icon flash 5 times.
Except these "popups" the OP is referring too. If the developer of these applications followed the Windows API, then they would have not stolen focus while the user is typing. However, these developers are not following the API and thus believe there application is so important....The problem lies with the application developers and only they can fix it.
And where in WinApi is there ANYTHING to tell a programmer what the user is doing in a different window? Those are some serious hooks to set into a system, requiring every program to engage in journaling every kesystroke and mouse move... any idea the impact that would have on system performance?

Second even if they did use the GetForegroundWindow(void) function and checked to see if their own app had focus before popping up dialog windows, there comes the risk of an endless pile of programs all waiting for focus because the user clicked on the open desktop.

This is not a problem to be solved by programmers in WinApi... it is one to be arbitrated by the Shell's ZOrder manager...
My System SpecsSystem Spec
15 Apr 2010   #6
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by CommonTater View Post
And where in WinApi is there ANYTHING.....
You just listed the very registry entries that govern said API. The applications in question do not honor it. If the applications honored it, they would not popup and steal focus while the user is actively typing.

BTW, the default values for ForegroundFlashCount, ForegroundLockTimeout in Windows 7 are: 7 and 200,000.
My System SpecsSystem Spec
15 Apr 2010   #7
CommonTater

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by logicearth View Post
Quote   Quote: Originally Posted by CommonTater View Post
And where in WinApi is there ANYTHING.....
You just listed the very registry entries that govern said API. The applications in question do not honor it. If the applications honored it, they would not popup and steal focus while the user is actively typing.
OK... I'm not going to get into it with you.
I write Windows Api code in C for a living... I'm into the Api and it's documentation every single day ... so what could I possibly know?
My System SpecsSystem Spec
15 Apr 2010   #8
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by CommonTater View Post
OK... I'm not going to get into it with you.
I write Windows Api code in C for a living... I'm into the Api and it's documentation every single day ... so what could I possibly know?
Application sets, ForegroundLockTimeout to zero (is the simplest, non-fully-fool-proof method), and does whatever opening a new windows that takes focus.
My System SpecsSystem Spec
15 Apr 2010   #9
CommonTater

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by logicearth View Post
Quote   Quote: Originally Posted by CommonTater View Post
OK... I'm not going to get into it with you.
I write Windows Api code in C for a living... I'm into the Api and it's documentation every single day ... so what could I possibly know?
Application sets, ForegroundLockTimeout to zero (is the simplest, non-fully-fool-proof method), and does whatever opening a new windows that takes focus.
I see... Thing is user settings are loaded by the shell, once on log-in and not re-loaded until the next login. For the very reasons you cite, they are not available to change on the drop of a hat.

Ever noticed how many programs say you need to reboot or you need to log out then back in ... This is why... Rebooting is to reload changes in the HKEY_LOCAL_MACHINE branch and log out-in is to reload changes in the HKEY_CURRENT_USER branch... because the programmer has no direct access to the live settings, in memory.
My System SpecsSystem Spec
23 Apr 2012   #10
too

Windows 7 x64 Ultimate
 
 

How can I just prevent from any window jump in front of whatever I'm doing and just blink on the task bar waiting for me to decide what to do, instead of interrupt me?
The DWORD ForegroundLockTimerout == 10000 just sets time but it will pop eventually right?

Thanks!
My System SpecsSystem Spec
Reply

 Stuff that "pop-up"




Thread Tools




Similar help and support threads
Thread Forum
Cleaning nVidia "stuff" !
I've been doing some spring cleaning, and I want to know are these files safe to delete, any insight ?
Graphic Cards
Changing the "minimize" "maximize" and "close" buttons of a theme
Ok so I'm using a custom visual style made by another user however I don't really like the buttons used that I mentioned above. The creator states it is acceptable to change the theme to however you like as long as you don't redistribute it anywhere. Ok so I opened up the .msstyles file (using...
Customization
BSOD every few hours: mostly "STOP: 0x00000F4", "c00021a" & "c0000135"
Hi everyone! Yesterday my HP laptop (Windows 7) started getting BSOD with various types of errors (mostly "STOP: 0x00000F4", "STOP: 0x0000007A", "c00021a" and one "missing %hs, c0000135"). Most of the time it restarts without any issues and works fine right after the BSOD and then an hour or two...
BSOD Help and Support
Need to add "TASKBARS" (MSese for "Launchpads", "Docks" NOT "Toolbars"
My office just upgraded, and I can no longer use Windows XP. On this system, I was able to add a separate taskbar to facilitate quick access to commonly-browsed folder locations on our vast network, and another one expedited the launching of useful programs and lists. Each task on each taskbar...
General Discussion
Still have lots of downloaded stuff in "other library"?
Hi everyone, i was posting to another thread in which i was uploading a snip of my desktop that i saved to the downloads folder, and when i clicked on the "Attach Files" tab to browse to the snip there appeared to be lots of stuff in the download folder i had deleted ages ago. I think there are two...
General Discussion
What to remove "Tex Enhance" stuff
The last number of days I have this mesage comming up in a square box and say that you must enter some competition. This comes up when you read text and some of the very commom words are in red and you move the curser over them. How can I get rid of it?
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:58.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App