急!!!

解决方案 »

  1.   

    可以参考一下这个:
    http://dev.csdn.net/article/18/18465.shtm
      

  2.   

    你可以在MSDN中看看IHTMLDocument2这个接口,可以帮你实现的。
      

  3.   

    to dth_ljb(小刘) 
    有没有这样的例子啊!
      

  4.   

    LPSTR lpszHtmlCode = new CHAR[4096];
    IHTMLDocument2* pHtmlDoc2;
    LPDISPATCH lpdisp;  lpdisp = GetHtmlDocument(); 
    lpdisp->QueryInterface(IID_IHTMLDocument2,(void **)&pHtmlDoc2);  if(pHtmlDoc2)
    {
    IHTMLElement* pHtmlElement;
    pHtmlDoc2->get_body(&pHtmlElement);
    CComBSTR bstr = lpszHtmlCode;
    pHtmlElement->get_innerHTML(&bstr);
    } delete [] lpszHtmlCode;GetHtmlDocument(); 是CHtmlView的成员函数。