如果我有一个Process.MainWindowHandle的值,我如何在C#中获取第三方应用程序的主窗口坐标(左,右,宽度,高度)和主窗口状态(最大化,正常,...)(获得)从会话进程列表)?
I guess you need GetWindowPlacement
WinAPI function. Here you can find a great example.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.