i have implemented the HandleWsEvent method for my application to get the notification, as soon as a new application gets started.
it is working fine if the application is in focus. But, if the application is running but is not in focus, it does not get any notification.

can anyone suggest what could be the problem?