简体   繁体   English

查找Internet Explorer_Server的链接元素并发送Click()事件(C ++)

[英]Find link elements of Internet Explorer_Server and send Click() event (C++)

i'm trying to programmatically send a click event to an Internet Explorer_Server window of a program, I came across this question in StackOverflow that was simillar to my circumstance and followed its answer: Sending "click" Message to a Internet Explorer_Server window link 我正在尝试以编程方式将click事件发送到程序的Internet Explorer_Server窗口,我在StackOverflow中遇到了与我的情况类似的问题,并遵循其回答: 向Internet Explorer_Server窗口链接发送“ click”消息

Unfortunately i have a hard time figuring out how to find the right link elements and send a click() method for them. 不幸的是,我很难弄清楚如何找到正确的链接元素并为它们发送click()方法。

I want to understand more in depth about what i'm working with here and what exactly is the Internet Explorer_Server window so i can search for the right answers and fourms on the way ahead. 我想更深入地了解我在这里使用的功能以及Internet Explorer_Server窗口的确切含义,以便我可以在以后的搜索中找到正确的答案和答案。

The "Internet Explorer" window is either a real Internet Explorer (the blue e on your desktop) or a hosted variant thereof. “ Internet Explorer”窗口是真实的Internet Explorer(桌面上的蓝色e )或其托管的变体。 The core of Internet Explorer is "MSHTML.DLL" aka IWebBrowser2 - an ActiveX control. Internet Explorer的核心是“ MSHTML.DLL”,又名IWebBrowser2一个ActiveX控件。 Internet Explorer adds things like a window frame, favorites and other menu's to make a full web browser out of the ActiveX control. Internet Explorer添加了诸如窗框,收藏夹和其他菜单之类的内容,以使整个Web浏览器脱离ActiveX控件。 But pixelwise, 95% of Internet Explorer is just that single ActiveX control. 但以像素为单位,Internet Explorer的95%只是该单个ActiveX控件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM