Re: Scrollheight Not Accurate
- From: Peter Carlson <peter@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 19 Jan 2007 19:11:38 -0700
So how would one go about getting the srollheight of the whole page? Is there a sample for this?
Peter
Igor Tandetnik wrote:
Peter Carlson <peter@xxxxxxxxxxxxxxxxxxxxx> wrote:.I am hosting a webbrowser ctrl and using the below code to render to a
bitmap. For a large page we normally resize the wndow, then call
Draw. However for an iframe (sample at
http://www.howudodat.com/frame.html) the scrollHeight is being
returned incorrectly.
What makes you think so? The code you show gets the scrollHeight of the frameset document. Each frame hosts its own document with its own, independent scrollHeight which you never retrieve.
- Follow-Ups:
- Re: Scrollheight Not Accurate
- From: Igor Tandetnik
- Re: Scrollheight Not Accurate
- References:
- Scrollheight Not Accurate
- From: Peter Carlson
- Re: Scrollheight Not Accurate
- From: Igor Tandetnik
- Scrollheight Not Accurate
- Prev by Date: Re: Scrollheight Not Accurate
- Next by Date: Re: Disable Context Menu Item
- Previous by thread: Re: Scrollheight Not Accurate
- Next by thread: Re: Scrollheight Not Accurate
- Index(es):
Loading