各位大哥,如果控制CHTMLVIEW的滚动条?
就是说:
    我想每次刷新后,滚动条都滚到最下面。
多谢!

解决方案 »

  1.   

    xghome(东楼)大哥
    你的方法不行啊
    怎么办呢?
      

  2.   

    IHTMLWindow2::scrollTo Method--------------------------------------------------------------------------------Scrolls the window to the specified x- and y-offset. SyntaxHRESULT scrollTo(
        long x,
        long y
    );Parametersx
    [in] long that specifies the horizontal scroll offset, in pixels.
    y
    [in] long that specifies the vertical scroll offset, in pixels.
    Return ValueReturns S_OK if successful, or an error value otherwise. 
    ResThe specified offsets are relative to the upper-left corner of the window.See AlsoIHTMLWindow2::scrollBy