All we need is an easy explanation of the problem, so here it is.
Is there some setting in Windows where I can change the default behavior that causes the border and title of a modal dialogue box to flash like 6 or 7 times when I click on the parent window?
Simply focusing it would be plenty to let me know what I did was wrong.
I don’t feel the need for all the sirens and bull horns and strobe lights to let me know I clicked in the wrong place.
How to solve :
I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.
Press Win+R, type or paste
regedit.exein the text box, and press Enter.
Navigate to the following registry key:
ForegroundFlashCountvalue, and set it to
Note In case the value is missing, create a new
DWORD(32-bit) value. While you could set it to
0, that would prevent modal dialog boxes from properly regaining focus.
Log off and log back on to apply the changes.
ForegroundFlashCount registry value was first introduced with Windows 2000. Here’s an excerpt from the original documentation:
Specifies the number of times the taskbar button flashes to notify the user that the system has activated a background window.
In Windows Vista and earlier the value was set to
3 by default. Starting with Windows 7, the default value is
7. Although it doesn’t seem to be specified anywhere, the same value also controls the way modal dialog boxes flash when you try to shift the focus to their parent windows.
Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂