Re: Inconsistent results with IHTMLBodyElement etc
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Tue, 6 Jun 2006 20:08:17 -0400
<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
.
- Follow-Ups:
- Re: Inconsistent results with IHTMLBodyElement etc
- From: chris
- Re: Inconsistent results with IHTMLBodyElement etc
- From: chris
- Re: Inconsistent results with IHTMLBodyElement etc
- References:
- Inconsistent results with IHTMLBodyElement etc
- From: chris
- Inconsistent results with IHTMLBodyElement etc
- Prev by Date: Inconsistent results with IHTMLBodyElement etc
- Next by Date: Re: Inconsistent results with IHTMLBodyElement etc
- Previous by thread: Inconsistent results with IHTMLBodyElement etc
- Next by thread: Re: Inconsistent results with IHTMLBodyElement etc
- Index(es):
Relevant Pages
|