<table class="panel" width="100%" border="0" cellPadding="1" cellspacing="1">
<tr >
<td valign="middle" class="navbar" width="450">
<!--<a href="http://check"><img src="img/check.gif"></a>
<a href="http://uncheck"><img src="img/uncheck.gif"></a> -->
<input name="checkchoice" type="radio" value="1" checked>订单审核通过
<input name="checkchoice" type="radio" value="2">订单取消......
CComBSTR tagName;
pElem->get_tagName(&tagName);
CString str=(CString)tagName;
str.MakeUpper();
if(str=="TABLE")
{
IHTMLTable* pTable=NULL;
pElem->QueryInterface(IID_IHTMLTable,(LPVOID*)&pTable);
......
我已经做到这一步,就是找到这个表格了,如果在枚举出表格中每个元素呢?
最后应该是这样:IHTMLInputButtonElement* pButton;
hr = pDisp2->QueryInterface(IID_IHTMLInputButtonElement, (void **)&pButton);
if(SUCCEEDED(hr))
{谢谢
<tr >
<td valign="middle" class="navbar" width="450">
<!--<a href="http://check"><img src="img/check.gif"></a>
<a href="http://uncheck"><img src="img/uncheck.gif"></a> -->
<input name="checkchoice" type="radio" value="1" checked>订单审核通过
<input name="checkchoice" type="radio" value="2">订单取消......
CComBSTR tagName;
pElem->get_tagName(&tagName);
CString str=(CString)tagName;
str.MakeUpper();
if(str=="TABLE")
{
IHTMLTable* pTable=NULL;
pElem->QueryInterface(IID_IHTMLTable,(LPVOID*)&pTable);
......
我已经做到这一步,就是找到这个表格了,如果在枚举出表格中每个元素呢?
最后应该是这样:IHTMLInputButtonElement* pButton;
hr = pDisp2->QueryInterface(IID_IHTMLInputButtonElement, (void **)&pButton);
if(SUCCEEDED(hr))
{谢谢
解决方案 »
- 为什么在我的电脑上运行这个windows程序,没有定义UNICODE,窗口处理程序收到的消息参数还是UNICODE的?
- 求大虾,这两个例子中的this指针有何不同,为何结果不一样
- : fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds
- 关于对话框资源关联类的问题-请大家帮帮我这个菜鸟
- 这个界面怎么做?
- 如何得到顶级菜单的的宽度-如IE上的“文件”,“编辑”项
- VB调用VC写的dll中的多线程API(包含一个函数指针做为参数)出错,问:这种类型的调用VB支持吗?应该注意什么?
- 关于CMainFrame和CView中指针传递。
- 请教:关于VC++编译错误提示的问题?
- 怎样在程序中启动IE。
- -----------可能中招了-----------
- 请问 这个段vc语句 什么意思,最好能翻译成delphi 的 或者汉字解释也可以的,谢谢了
http://topic.csdn.net/t/20050201/11/3767915.html