473,387 Members | 1,282 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C#, WebBrowser control and accessing the ScrollBars?

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.
Sep 28 '05 #1
0 1805

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Flip | last post by:
I would like to find out the height of a webpage in the WebBrowser. 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...
2
by: reidarT | last post by:
I use a webbrowser control to open a web page. I get a vertical scrollbar. Is it possible to get rid of it? reidarT
0
by: Flip | last post by:
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...
2
by: spamlaanbroek | last post by:
The .NET WebBrowser control in the Compact Framework 2.0 is a major headache. Once it takes the focus (e.g. by the user tapping on it) it keeps it and keyboard events are not passed to the form...
3
by: iwdu15 | last post by:
hi, im trying to use APIs to set the scroll position of a WebBrowser control, but it wont do anything, yet a textbox will....heres the code ' Scrollbar direction ' Const SBS_HORZ = 0 Const...
5
by: mabond | last post by:
Hi recently read a posting and reply about Excel processs still running after the Appliction.Quit was called. Thought I might be able to use the same...
0
by: Balex | last post by:
hi, I have a VB.Net app which "reads" in html pages from a web server using winhttp. The purpose is for the app to "fill in" data fields on the page, then send it back to the web server, as if a...
1
Logan1337
by: Logan1337 | last post by:
This is not a serious issue, but I'm just wondering if anyone knows why the WebBrowser control's scrollbars look different from every other scrollbar, at least under Windows Classic look, which I...
0
by: Polaris | last post by:
Hi Experts: I'm using .Net WebBrowser Control 2.0. I need to get the handles of both vertical and horizontal scrollbars of the control. Any hints is appreciated. Thanks in advance! Polaris
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.