制作一个多页面浏览器,打开一个网页后会在标签栏中显示这个网页的名字,比如我打开163就可以显示网易。我用读取locationname的值实现的。现在的问题是我打开一个连接的时候,比如说我点击163里面的一条新闻,这时候显示的网页名字应该是“中国外交部:“中国潜艇尾随美国航母”报道不实”,但是这个时候Locationname的值不是这个而是“http://news.163.com.......”我想请问“中国外交部:“中国潜艇尾随美国航母”报道不实”这个标题是怎么出来的?
尤其是在点击图片连接的的网页的时候,这个时候网页的名字怎么提取出来?
比如在http://news.china.com/zh_cn/中点击一个图片这个时候也会跳转到一个网页显示网页的名字,例如:“陈冯富珍执掌世卫幕后:中国在外交角力中胜出(1)”

解决方案 »

  1.   

    我觉得把网页里面的title提取出来就可以了,但是怎么提取不知道
      

  2.   

    1 handle the OnTitleChange event
    http://www.bsalsa.com/ewb_on_title_cng.html
    2 use the one in Windows XP SP2
      

  3.   

    2 use the one in Windows XP SP2
    什么意思阿,能说的 具体点不?我是新手。不明白
      

  4.   

    Popup Management- (FEATURE_WEBOC_POPUPMANAGEMENT)- This control enables applications hosting the WebBrowser Control to use Internet Explorer's default pop-up blocker.
    Applications that host the WebBrowser Control should use the CoInternetSetFeatureEnabled function to enable or disable each feature control. 
      

  5.   

    jiangsheng(蒋晟.Net[MVP]) 
    相关的内容在那里找到?DELPHI的帮助文件有吗?
    如过没有请给个连接谢谢哈
      

  6.   

    it is in MSDN
    msdn.microsoft.com