Hi, I'd like to be able to query some function and give it a processID or processName - It then should return true
or false
on wether that process is in the foreground or not.
So i.e. the query for Firefox would return true
(because right now I'm in FireFox, typing this) and everything else should return false
.
Is that even possible for every type of application (.net, java/swing, pure c++/win32-ui)?
- This question is for Windows only.