After you re-do everything, call UpdateWindow (on the list hwnd) to refresh the list. Also with your current code, if any new processes are detected, your mark will be thrown off as well. I guess the best solution would be also to store the process's name and do a double check :rolleyes:
I was just looking at the Macros' names to see wich I would use to retreive a collum by its selection mark position, but there are soo many names :P... I would if someone could point me out...
I'm wasting way too many time with just formating the ListView, I'm starting with killing the process (the real thing) now. Would I use ExitProcess? If so how. TerminateProcess? At last resource only?