put_scrollTop only work once!




I'm trying to create an WebBrowser app based, I need to scroll to the
end of the document every time that I insert an new <span> element, I'm
using IhtmlElement2 for querying the BODY element.
Them I use put_scrollTop method to scroll, well,'ve notice some thing
bizarre is I can say that, is my BODY scroll height is for example 200
px, and i set this height in put_scrollTop, right after i call
get_scrollTop, and it It doesn't have the 200 px value! it has 122, and
is always like this the BODY height minus 88?

Any help will come Handy,

Thanks

ps: I'm using Mfc

.



Relevant Pages

  • Re: put_scrollTop only work once!
    ... insert new <span> elements to my body element (i check if this element ... had been inserted before trying to scroll), when I call put_scrollTop, ... overhead. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: put_scrollTop only work once!
    ... I´ve made the changes, but it´s having the same behavior, it apears ... that the scroll goes all the way down to the las <span> Element, ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: How do I Span Menus Across Desktop?
    ... I can't see any of those options you guys mention but I think my menus are ... already set to span. ... > list of programs) to span across the desktop rather then having to scroll ... > through them and I've forgotton how to do it. ...
    (microsoft.public.windowsxp.basics)
  • How do I Span Menus Across Desktop?
    ... When I click on the start button and then all programs, I want the menus (or ... list of programs) to span across the desktop rather then having to scroll ... through them and I've forgotton how to do it. ...
    (microsoft.public.windowsxp.basics)
  • Re: put_scrollTop only work once!
    ... insert new <span> elements to my body element (i check if this element ... had been inserted before trying to scroll), when I call put_scrollTop, ... scroll to the top, or bottom, when I call ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)