I would like to look for a way to create a Window Task Manager (Application tab only) like application. Basically what I want is a C# 2005 application that work just like a Window Task Manager, which keep track with the status of all running desktop application (not window process). For example, when a new desktop application is invoked, closed, not responding, changing window caption etc, my C# 2005 application should be able to detect all these changes as the Window Task Manager (application tab) does.
I have tried WMI __InstanceDeletionEvent, __InstanceCreationEvent etc. Somehow it does not work like as what I espected.
Your kind advices, suggestion, reference to Win32 API or C# functions, or simple example are very much appreciated.
Thank you very much!
P/s: I would like to keep track with running desktop application, not the windows processes.