I'd like to prevent / restrict the amount of times an applications flashes in my task bar.
For example, messenger chat windows. If I ignore them, they keep flashing. Ideally, what I'd like to do is only allow any given application to flash in the task bar 3 times and then stop.
How might I do this?
Edit
To clarify I do need a Vista solution.
ForegroundFlashCount is already set to 3, so is this setting is ignored in Vista?
In this case, which chat program are you using? If you are using Digsby, it ignores the flag and will flash the window forever. I use Digsby myself and that is the most annoying "feature" of the program! If it is Digsby that has the problem, you can find some information on controlling on their forums at http://forum.digsby.com/viewtopic.php?id=3361.
If it isn't Digsby, the best thing to do is contact the developer of the application and ask them to follow the Windows settings rather than forcing Windows to flash constantly.
EDIT: my "solution" below is not correct. It does the opposite:
This sample chapter from the book "Microsoft® Windows® XP Registry Guide" contains some information related to focus:
HKCU\Control Panel\Desktop
ForegroundLockTimeout
ForegroundFlashCount
ForegroundFlashCount
There is a registry setting in:
Try to set it to 0.
Warning: be careful when you edit the Windows Registry.
w/o messing with the registry, and providing wealth of other useful enhancements TweakUI
EDIT: I've noticed the tag; this is for Windows XP only.
Some things I've read only for this issue suggest that turning off the Aero UI will allow Vista to use the ForegroundFlashCount setting.