Skip to content

Desktop Windows

Thomas Eisenkolb

Asked Jan 21, 2007, 9:38 PM EST2 answers
Share
LinkedInX
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

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mahesh Chand
    0

    You can use the Process class to close/destroy any process (exe).

    0
  • 0

    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

    0