closuresWindows资源pipe理器的特定实例

closuresWindows资源pipe理器的特定实例,第1张

概述closuresWindows资源pipe理器的特定实例

我遇到了一个问题,试图WM_CLOSE一个窗口资源pipe理器的过程中,发送该消息,然后将尝试closureswindows Shell浏览器进程,并提示用户closures窗口。 这不是预期的行为,我想知道如何解决它?

如何优雅地closures个人资源pipe理器窗口,而不必同时closures整个PC? 目标是具有相同的行为,就好像用户自己点击了Xbutton一样。

编辑:我发现,我能够获得所有浏览器进程的子窗口,但从那一点上我不知道如何确定哪些窗口是实际的,用户可见/可交互的资源pipe理器窗口。

11/21/2012 16:27:49 [12] DEBUG - Closing process with PID: 2680 11/21/2012 16:27:49 [12] DEBUG - Window has 11 descendant windows 11/21/2012 16:27:49 [12] DEBUG - Found child window: hWnd: 590746 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: 4:27 PM hWnd: 656010 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: hWnd: 2294392 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: hWnd: 1245586 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: User Promoted Notification Area hWnd: 2949496 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: System Promoted Notification Area hWnd: 1245548 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: hWnd: 852646 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: hWnd: 918356 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: Running applications hWnd: 1769950 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: Running applications hWnd: 1179980 Window State: normal 11/21/2012 16:27:49 [12] DEBUG - Found child window: TF_floatingLangbar_WndTitle hWnd: 458926 Window State: normal

机器启动时运行exe

.NET中的DLL可以使用不同的扩展名,例如MLL?

任务pipe理器不同意Process Explorer?

为什么我的WPF应用程序不显示?

如何以编程方式更改LAN设置(代理configuration)

是否有可用于可移植类库的System.Environment.Machinename的等价物?

使用SystemParametersInfo协助

如何configurationtoolstripdropdownbutton大小以匹配父级下拉button的大小?

如何在registry中存储securestring?

当Readonly = false时,性能计数器显示不同的值

你怎么弄窗户? 你可以通过文本获得winAPI调用的句柄,所以也许桌面资源管理器没有标题。 http://msdn.microsoft.com/en-us/library/windows/desktop/ms633499(v=vs.85).aspx查看lpWindowname参数。

另外,我只是猜测在这里,你可能会看到桌面浏览器和其他资源管理器实例之间的关系,只要它们与GetDesktopWindow()返回的hande相关http://msdn.microsoft.com/zh-cn/ -us /库/窗/桌面/ ms633504(v = vs.85)的.aspx

总结

以上是内存溢出为你收集整理的closuresWindows资源pipe理器的特定实例全部内容,希望文章能够帮你解决closuresWindows资源pipe理器的特定实例所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/1289067.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-09
下一篇2022-06-09

发表评论

登录后才能评论

评论列表(0条)

    保存