我用ShellExecute打开一个网页,现在我想取到这个网页的句柄,有没有什么好的方法!!急救

解决方案 »

  1.   

    网页的句柄???还是网页窗口的句柄?Internet Explorer_Server类?
      

  2.   

    www.codeproject.com/shell/AutomateShellWindow.asp
      

  3.   

    网页的内容没有句柄的网页窗体倒是有句柄...findwindow('Internet Explorer_Server',nil)网页里面的标签可以通过网页的源文件得到
      

  4.   

    首先谢了前面几位高手
    比如说得到一个http://www.google.cn/网页的句柄怎么得到,如果浏览器是遨游的话又该怎么得到啊,急!!!
      

  5.   

    EnumWindows回调函数里GetWindowText,然后判断就行了
      

  6.   

    IE核心的网页窗口类都是Internet Explorer_Server
    先findwindow,然后接着找Internet Explorer_Server类