473,394 Members | 1,971 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,394 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 1806

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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.