用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