怎么去掉WebBowser 控件的滚动条?不去掉这个滚动条非常难看

解决方案 »

  1.   

    The hard way is to implement the IDocHostUIHandler interface and respond to the GetHostInfo 
    request by setting the DOCHOSTUIFLAG_SCROLL_NO bit in the dwFlags member of the DOCHOSTUIINFO 
    Structure. FWIW, the MFC7 implementation of CHtmlView comes with a built-in IDocHostUIHandler. 2) 
    The easy way, if you have control over the html that your browser instances will display is to set 
    the <BODY scroll=no> property in script. 3) The next to easiest way is to do it through the 
    IHTMLBodyElement in your code. 
      

  2.   

    http://madgod.blogchina.com/blog/843194.html
      

  3.   

    我找到了一个类,在CODEPROJECT上,解决了