如题,访问任何一个网站时,在打开网页的过程中,状态栏会有所显示,我想去掉这个信息,该怎么办呢?谢谢大家的支持。

解决方案 »

  1.   

    最近这个论坛好象有问题,请大家回我的帖之前先将地址栏里的bbs换成community,否则会提示你什么地址错误,不让发帖
      

  2.   

    There is no status bar in CHTMLView
      

  3.   

    怎么可能,你的程序本来就有状态栏的,又不是chtml View带来的,是属于Frame框架的啊!!!
      

  4.   

    CHtmlView does not know the existance of a status bar, you must have written some code to update the status.check your CHtmlView::OnProgressChange implementation.
      

  5.   

    void CMIEView::OnProgressChange(long nProgress, long nProgressMax)
    {
    //if(nProgress !=-1 ){
    //  CMainFrame* pMainFrame= (CMainFrame*)AfxGetMainWnd();  
        //  pMainFrame->m_wndStatusBar.SetPaneText(0,"dddddddddd");
    //}}
    还是不行
      

  6.   

    CHtmlView::OnStatusTextChange , sorry
      

  7.   

    谢谢你的回复!
    void CMyView::OnStatusTextChange(LPCTSTR lpszText)

     
    CMainFrame* pMainFrame= (CMainFrame*)AfxGetMainWnd();  
             pMainFrame->m_wndStatusBar.SetPaneText(0,"dddd");
     
    }
    可是这样我的状态栏怎么都是" dddd " 了,我也只想去掉正在打开的那个网址,其它的状态栏信息不变!希望大虾再指点一下
      

  8.   

    还有,我网页用的是框架,怎么打开后,这个OnStatusTextChange就一直捕捉消息啊
      

  9.   

    Some websites update the status bar constantly. Use another status bar if necessary.
      

  10.   

    重写CHtmlView::OnStatusTextChange ,是没错的