Re: scrolling in an IE add-on
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Fri, 19 Oct 2007 08:04:34 -0400
<vsimionescu@xxxxxxxxxx> wrote in message
news:1192788319.534623.174650@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
I know this question has been asked before in this group. I'm having
problems obtaining the scroll position in an IE add-on, and then
scrolling. But let's first focus on obtaining the position. I've tried
the method I found right here and that seemed to me it's the most
recommended, namely via IHTMLDocument2::get_body, and
IHTMLTextContainer::get_scrollTop . It doesn't work; more
specifically, it works on some web pages such as
http://news.google.com/nwshp?tab=wn
but doesn't work on others, including the Google and Yahoo main pages.
http://groups.google.com/group/microsoft.public.inetsdk.programming.webbrowser_ctl/browse_frm/thread/fa3452e1bbb6bcf5
Also, maybe there's another more reliable (actually, that is: very
reliable) way of scrolling.
put_scrollTop
--
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: scrolling in an IE add-on
- From: vsimionescu
- Re: scrolling in an IE add-on
- References:
- scrolling in an IE add-on
- From: vsimionescu
- scrolling in an IE add-on
- Prev by Date: scrolling in an IE add-on
- Next by Date: Re: scrolling in an IE add-on
- Previous by thread: scrolling in an IE add-on
- Next by thread: Re: scrolling in an IE add-on
- Index(es):
Loading