Hello!
I have a question at Forms which are not a part of .NET Framework.
Am I able to notice if a window like a Windows Explorer or a other none .NET Framework window is created or destroyed??
I tried to use Shell hooks but they don't work for all windows.
Thomas
Desktop Windows
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh ChandRank #1 · 392.9K pointsPosted Jan 22, 2007, 4:31 PM EST
You can use the Process class to close/destroy any process (exe).
Thomas Eisenkolb3 pointsPosted Jan 22, 2007, 9:57 PM EST
At first thanks to your Reply.
I know the way using the Process class of .NET.
The only way to get informed when a new window is openend is to poll all Processes.
But is ther a way to get an Event from System when a new window is opened??
Thomas