Re: Scrollheight Not Accurate



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.
.


Loading