任务管理器中“应用程序”选项卡中的应用程 [英] List of Application in Applications Tab in Task Manager

查看:82
本文介绍了任务管理器中“应用程序”选项卡中的应用程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是编程的新手。很高兴来到这里。这是我在论坛中的第一篇文章,很高兴来到这里。

我的问题是如何在应用程序选项卡的任务管理器中获取所有应用程序的列表。

我使用了System.Diagonistics.Process类,并使用条件p.mainWindowTitle.Length> 1来获取所有进程的主窗口标题。

但是在我的情况下某些进程可能有多个窗口。您可以通过在Windows中打开calc并转到帮助 - >来查看它。帮助主题

现在当我使用上面的类时,我无法得到这个帮助窗口的句柄..但它会出现在任务管理器列表中。计算器和计算器帮助都来自calc.exe进程...



无论如何都要将所有窗口关联到一个进程.. ??

解决方案

在这里阅读:



http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/60affc28-364a-4a8a- 8f03-ec976918c2ca [ ^ ]



他们似乎试图做同样的事情,你可以尝试一些想法。

Hi guys,
I''m a novice to programming. Am happy to be here. This is my first post in a forum and happy to be here.
My question is regarding how can i get a list of all applications in Task Manager in Applications Tab.
I used System.Diagonistics.Process class and used the condition p.mainWindowTitle.Length >1 to get main window title of all processes.
But certain processes may have multiple windows in my case. You can see it by opening calc in windows and going to Help -> Help topics
Now when i use the above class, i couldn''t get the handle of this help window.. But it''ll be present in task manager list. Both calculator and calculator help are from calc.exe process...

Is there anyway to get all windows associated with a single process..??

解决方案

Have a read here:

http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/60affc28-364a-4a8a-8f03-ec976918c2ca[^]

They appear to be attempting to do the same thing, there are some ideas you could try.


这篇关于任务管理器中“应用程序”选项卡中的应用程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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