Re: Inconsistent results with IHTMLBodyElement etc

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



<chris@xxxxxxxxxxx> wrote in message
news:1149636992.233820.34250@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
For some URLs, calling be->get_scrollHeight and be->get_scrollWidth
returns sensible values, and put_scrollTop and get_scrollTop behave as
expected, causing the window to scroll. This works fine for
"www.oview.co.uk" and "www.b3ta.com/board", for example. However, for
the URL "www.b3ta.com" (amongst many others), get_scrollHeight returns
'53' although the page is clearly much longer than that, put_scrollTop
has no effect, and get_scrollTop always returns 0, even if I manually
scroll the page down.

See if this helps:

http://groups.google.com/group/microsoft.public.inetsdk.programming.webbrowser_ctl/browse_frm/thread/fa3452e1bbb6bcf5

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: using "col" and "colgroup" tags in firefox?!?
    ... Pondering the eternal question of "Hobnobs or Rich Tea?", Jose finally ... Thus causing the user to have to scroll up and down the window to read ...
    (alt.html)
  • Re: Scrollbar thumbtrack doesnt scroll all the way
    ... SetWindowPos in regards to an embedded child window. ... Note also that OnSize is ... The size of the scroll bar in between is largely irrelevant to ... The correct value is to use nPos. ...
    (microsoft.public.vc.mfc)
  • Re: Scrollbar thumbtrack doesnt scroll all the way
    ... SetWindowPos in regards to an embedded child window. ... Note also that OnSize is ... The size of the scroll bar in between is largely irrelevant to ... The correct value is to use nPos. ...
    (microsoft.public.vc.mfc)
  • Re: GDI+ Custom Control
    ... I have actually done this already; my first MFC program was a medical data display and I ... First, I would treat each of the "tiles" as being a separate window, each a child window ... You scroll the tile. ... So there would be one "tile" for Heart ...
    (microsoft.public.win32.programmer.gdi)
  • Re: XSun: Slow Scroll
    ... Display being veryslowto scroll even the terminal in windowing ... CDE) and what framebuffer. ... a PCI card somewhere in the system. ... If you're running Gnome as your window manager, ...
    (comp.sys.sun.hardware)