C#, WebBrowser control and accessing the ScrollBars?

F

Flip

I would like to find out the height of a webpage in the WebBrowser control
(.NET 2.0). Is
there an easy C# API way to do this?

The easiest way I have found with the UI, is to make the control big enough
(anchor it and resize the parent form) and the scrollbars are disabled when
the whole HTML page is in focus. I would like to do that but
programmatically.

So far, I've found a C++ way to do this
(http://www.codeproject.com/miscctrl/scrollbrowser.asp). But I'm not C++
literate and would like to do this in C#. Any help/code samples would be
greatly appreciated.

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top