在mshtml.h里面有没有包括IHTMLInputElement啊?
可是在MSDN里面说IHTMLInputElement包含在mshtml.h啊? 
可是我VC却找不到,这是什么原因啊? 

解决方案 »

  1.   

    VC6?
    升级到VC.Net,或者安装新版本的Windows平台SDK
    注意最新版本的Windows平台SDK已经不支持VC6了。
      

  2.   

    #include <mshtml.h> // 所有 IHTMLxxxx 的接口声明
      

  3.   

    mshtml提供解析一个html页面成为一个dom树的功能吗?然后得到每个dom结点的坐标信息啊?
      

  4.   

    1 see the source code of CHTMLCodeDlg in http://blog.csdn.net/jiangsheng/archive/2003/11/09/3795.aspxYou can also determine the location, width, and height of an object by using a combination of the IHTMLElement::offsetLeft, IHTMLElement::offsetTop, IHTMLElement::offsetHeight, and IHTMLElement::offsetWidth properties. These numeric properties specify the physical coordinates and dimensions of the object relative to the object's offset parent. For more information about how to access the dimension and location of objects on the page through the Dynamic HTML (DHTML) Document Object Model (DOM), see Measuring Element Dimension and Location. http://msdn.microsoft.com/workshop/author/om/measuring.asp