I need to capture particular windows of 3rd party process. I can find main window handle as Process.MainWindowHandle, but what I can use to list other windows?
I am
3rd party aplication launched other windows not as child windows.
It is possible to find out what is structure using Spy++ tool which comes with Visual Studio.
After this, I was able to find necessary window using FindWindowEx function using WindowClassName (taken from Spy++): lastWindows = FindWindowEx(IntPtr.Zero, lastWindows, m.WindowClassName, null);