Right. Given a windowed environment, one could also consider a process to be "running in the foreground" if it runs (in) the topmost window or the window that currently gets user input (from keyboard and pointing device). All other processes would be "running in the background". So, astroboy, please define "foreground" and "background".
Alexander
In reply to Re^6: Detecting forground and background process
by afoken
in thread Detecting forground and background process
by astroboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |