首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ Builder >

用cppwebbrower读取html的有关问题

2012-03-03 
用cppwebbrower读取html的问题我用bcb的cppwebbrowser读取网页的html内容片断如下:wchar_t*txtIHTMLEleme

用cppwebbrower读取html的问题
我用bcb的cppwebbrowser读取网页的html内容
片断如下:
wchar_t   *txt;
              IHTMLElement   *body;
              pHTMLDoc-> get_body(&body);
              body-> get_outerHTML(&txt);
              HTMLForm-> Memo1-> Text=txt;
得到如下的信息:
<FRAMESET   border=0   frameSpacing=0   rows=*,0   frameBorder=NO> <FRAME   name=home   src= "home.php "> <FRAME   name=hidden   noResize   scrolling=no> </FRAMESET>

我想更精确的得到夫人frameset里面更多的内容该怎么办?

[解决办法]
query IWebBrowser2 from the frame element
http://community.csdn.net/Expert/topic/5282/5282487.xml?temp=.8138697

热点排行