st7*_*t78 6 c# windows process
我需要捕获第三方进程的特定窗口.我可以找到主窗口句柄作为Process.MainWindowHandle,但我可以用来列出其他窗口?
我正在使用C#/ .NET
第 3 方应用程序启动了其他窗口,而不是作为子窗口。
使用Visual Studio自带的Spy++工具可以找出什么是结构。
之后,我能够使用 WindowClassName(取自 Spy++)使用 FindWindowEx 函数找到必要的窗口:lastWindows = FindWindowEx(IntPtr.Zero, lastWindows, m.WindowClassName, null);