I have a program that opens multiple windows. I have used this method to hide them from ALT+TAB. Now I need the new windows to stop showing up in the ‘tasks’ tab of task manager.
I don’t need the process not to show up in task manager, I just don’t want all the windows my program opens to show up in the ‘task’ tab.
Here is a picture of what I’m trying to get rid of: http://i1096.photobucket.com/albums/g324/thezaza101/Tasklist.jpg
-Thanks
Solved thanks to David Heffernan.
On my main window i added a static window field which references my main window.
On the windows I need to hide from task manager and ALT+TAB, I made my main window its owner:
Its really simple, it hides the window from the ‘tasks’ tab on task manager and also stop people from ALT+TABing into your program.