foreground window
The window with which the user is currently working. The system assigns a slightly higher priority to the thread that created the foreground window than it does to other threads.