09-17-2001, 03:47 AM -
It is possible I think. One way is to determine the active prog by the foreground windows name, the other is by checking the foreground window and check which proccess it belongs to. This is just an idea of course