如何在vb.net中处理Explorer_TridentDlgFrame窗口 [英] How to handle Explorer_TridentDlgFrame window in vb.net

查看:289
本文介绍了如何在vb.net中处理Explorer_TridentDlgFrame窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个winforms项目,它使用IE对象模型进行IE

的自动化操作。在某些时候,在当前的

IE实例中单击一个按钮,该实例调用window.showModalDialog javascript方法,因此

弹出一个对话框窗口。这个窗口不是InternetExplorer类型的

虽然,它是一个Internet Explorer_TridentDlgFrame,所以我不知道如何获得一个可用的句柄。我正在寻找某种类型的收集来自InternetExplorer和htmlDocument对象的

并且已经空了。

有没有人有想法?



感谢您的帮助。

I am working on a winforms project that does some automation of IE
using the IE object model. At some point a button is clicked in the current
IE instance that call the window.showModalDialog javascript method, thus
popping up a dialog window. This window is not of the InternetExplorer type
though, it is a Internet Explorer_TridentDlgFrame, so I have no idea how to
get a usable handle to it. I've looking for some sort of collection off of
the InternetExplorer and htmlDocument objects and have come up empty. Does
anyone have any ideas?

Thanks for any help.

推荐答案

这篇关于如何在vb.net中处理Explorer_TridentDlgFrame窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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