关于 WebBrowser 触发网络事件问题,高分 这句是delphi写的可以执行通过。WebBrowser_M.oleobject.document.all.item('loginForm').submit;VC 应该怎么办呢?<form name="loginForm" method="post" action="https://************/DRAGONA_GC_login_ok.asp" onSubmit="return loginFormCk(this);" target="if_login"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 怎么使用呢?? 那个登陆的是个图片没法 click void Submit(IHTMLDocument2 *pDocument, CString strID){ IHTMLElementCollection *AllElement; // 保存网页所有元素 pDocument->get_all(&AllElement); // 得到网页所有元素的集合 CComPtr<IDispatch>pDisp; AllElement->item(COleVariant(strID), COleVariant((long)0), &pDisp); // 返回指定 ID 的对象 CComQIPtr<IHTMLElement,&IID_IHTMLElement>pElement; if (pDisp == NULL) return; pElement = pDisp; pElement->click();} Submit(objDocument, "loginForm");完全没有反应 VC中怎样修改弹出的对话框中文本控件的内容 有关于AppendMenu的问题~在线等。。。急。。。 C语言 定时待机 重绘CListBox问题 分裂窗口中鼠标滚轮问题 多线程程序如何抓bug? textout怎么改变字体和大小 如何使创建的window不能移动 我在厦门,想利用下班时间搞些其他项目,挣点外快,希望有挣过外快的朋友进来给点建议。 vc到底该怎么学 VC2008 Combo Box 怎么使用...大神们来救救命.... c#中的Dictionary对应vc的什么类型
怎么使用呢?? 那个登陆的是个图片没法 click
{
IHTMLElementCollection *AllElement; // 保存网页所有元素
pDocument->get_all(&AllElement); // 得到网页所有元素的集合 CComPtr<IDispatch>pDisp;
AllElement->item(COleVariant(strID), COleVariant((long)0), &pDisp); // 返回指定 ID 的对象
CComQIPtr<IHTMLElement,&IID_IHTMLElement>pElement; if (pDisp == NULL)
return; pElement = pDisp;
pElement->click();
}
Submit(objDocument, "loginForm");
完全没有反应