获取特定应用程序运行的边界 [英] Getting boundaries where particular application is running

查看:58
本文介绍了获取特定应用程序运行的边界的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请一些身体帮助



需要获取的是流程窗口:屏幕上,最大值,最小值和边界

此外从多个监视器获取当前正在运行的进程窗口的屏幕

please can some body help

Need to get is the process window: on screen, maximum,minimum and boundaries
moreover to get screen from multiple monitors for current running process window

推荐答案

你不能直接从.NET(C#或VB)这样做,你必须直接使用API ...

您可以使用 EnumThreadWindows [ ^ ] ...在回调方法中 [ ^ ]您可以致电 GetWindowRect [ ^ ]接收窗口的大小和位置......
You can not do such directly from .NET (C# or VB), you have to use API directly for that...
You can enumerate all the windows created by a thread (process) using EnumThreadWindows[^]...In the callback method[^] you can call GetWindowRect[^] to receive the size and position of the window...


这篇关于获取特定应用程序运行的边界的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆