Thanks for the idea, it got me where I needed to be. [thumbsup2]
I ended up going back to EnumWindows to go through the windows in the system. For each window I used GetWindowThreadProcessId to get the associated thread id and process id. I used the process id with psapi.h calls to determine...
I have an application that I use to request applications to shutdown. I iterate through the running processes, get the name of the executable and compare it against the list of executables that need to be shutdown. If I find it on the list, I want to post a message to its main message loop...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.