How to use IHTMLDocument2 to get images infos, header infors, ....
Posted on 2006-11-05
I need to cache the HTML that display with CHtmlView control,
I have to use IHTMLDocument2 to query HtmlDocument as below:
m_MyHtmlCtrl->GetHtmlDocument()->QueryInterface(IID_IHTMLDocument2, (void **) &pDoc);
I can get the body infos by using get_body(0 function
But I don't know how to get images infos, header infos with this, I need to save the contents of HTML to local html file and o need to save all images to the local too.
Please help me with this.
Thank in advance!