Focus is used to describe applications that are currently enabled that can enter or select menus on the keyboard. When you switch to a window, the window is the focus window. Some applications like to snatch the focus of the program. If you are eager to finish your work, but there is an application that keeps getting the focus from the window you need to work on, this is really annoying. To solve this problem, you can edit the Registry to change the way the system processes the application focus. Run regedt32 and go to hkey_current_usercontrol paneldesktop. Edit (or add, if not exist) the following REG_DWORD key: Foregroundlocktimeout: This key controls how long the application needs to wait for focus. If the key value is set to 0 (the default status), any program can use focus. Set the key value to 20000 or 200 seconds in decimal format. This will make the application wait for such a long time before taking up the focus. Foregroundflashcount: When an application tries to occupy the focus, this key controls the duration of the icon flashing on the taskbar. By default, this key value is 3, set it to 0 in decimal format, so that the icon on the taskbar will flash continuously until it is clicked. These modifications to the registry will take effect immediately. |