put_scrollTop only work once!
- From: "cjsk81@xxxxxxxxx" <cjsk81@xxxxxxxxx>
- Date: 22 Feb 2006 05:40:31 -0800
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
.
- Follow-Ups:
- Re: put_scrollTop only work once!
- From: Andrew Yao
- Re: put_scrollTop only work once!
- From: Igor Tandetnik
- Re: put_scrollTop only work once!
- Prev by Date: Re: What is the value of DOCHOSTUIFLAG_ENABLE_ACTIVEX_INACTIVATE_MODE
- Next by Date: Re: put_scrollTop only work once!
- Previous by thread: Re: What is the value of DOCHOSTUIFLAG_ENABLE_ACTIVEX_INACTIVATE_MODE
- Next by thread: Re: put_scrollTop only work once!
- Index(es):
Relevant Pages
|
|