Message-ID: <5LgJgh$Tzj@newsmth.net>
Subject: Re: 调用IE打开特定网页后,怎么实现自动点击网页中某个submit
Date: Mon, 20 Jan 2014 03:09:28 +0000
From: missdeer@newsmth.net-SPAM.no (卧薪尝胆的类库萤一)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.network.programming.20141003.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.newsmth.net!NEWSMTH
Newsgroups: cn.bbs.comp.network.programming
Organization: 水木社区
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: NetPRG/L/M.1390187275.B0
Lines: 10
X-Original-Bytes: 876
Xref: 74.82.202.154 cn.bbs.comp.network.programming:13376

先FindWindow找到那个IE窗口句柄,进而得到浏览器页面的窗口句柄,再进而得到IHTMLDocument2*之类的,然后就可以为所欲为了……
大概是这个过程。
【 在 bjhbycthc (流水) 的大作中提到: 】
: 非常感谢! 


--
C++, Qt, micro ISV


※ 来源:·水木社区 newsmth.net·[FROM: 211.160.178.*]