473,473 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

. Net RichTextBox Verticle Scroll Bars

I have a richtextbox with the Scrollbar property set to vertical. If
the text in the box overflows the size a vertical scrollbar is
visible. If the text fits inside the box the scrollbar is not
visible.

Is there a way to programmatically check to see if the scroll bar is
visible or not?

Thanks,
Steven
Jul 21 '05 #1
1 1522
Hi Steven,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know whether the scroll bar
of the rich text box is visible programatically. If there is any
misunderstanding, please feel free to let me know.

As far as I know, the scroll bar of the rich text box was painted on it and
there is no property for the rich text box to get whether the scroll bar is
visible. So I don't think we can get this information whether checking the
properties or finding child window with the handle for rich text box.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2

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

Similar topics

12
by: Arlie Rahn | last post by:
I would like to ad a custom scroll bar control to my app that has a customizable and "flat" look to it (not the normal VB look). Does anyone have any ideas on where to find a good one?
3
by: thomanjl | last post by:
My current problem I'm having with the verticle scroll bar is actually with the scroll box. I have set the min and max of the scroll bar to -32767 and 32767 respectivly. When I scroll to the end...
2
by: JonnyT | last post by:
I searched high and low for an answer on how to auto scroll a richtextbox and now I finally have it. Since it took me a while to get a good efficient way of doing it that didn't require focus to...
0
by: tcloud | last post by:
I have a RichTextBox that: - 1st would intermittently show the scroll bars but they wouldn't work - 2nd now doesn't allow any interaction even though it looks normal The application processes...
1
by: Steven H | last post by:
I have a richtextbox with the Scrollbar property set to vertical. If the text in the box overflows the size a vertical scrollbar is visible. If the text fits inside the box the scrollbar is not...
3
by: vooose | last post by:
Consider a RichTextBox which is say 200 pixels wide and you do: richTextBox.WordWrap = false; richTextBox.Rtf = <lots of text> Assume the width of the rendered text is wider than 200 pixels so...
2
by: usenet | last post by:
When I open a form design window in Access 2003 it *always* has scroll bars, this is even when the form itself is tiny. It's as if the 'page' on which the form is being designed is very large. ...
1
by: David_from_Chicago | last post by:
I am developing an application in Access 2000 (A2K) which has multiple forms and subforms. Until now, all subforms displayed scroll bars properly (according to the subform's property setting). ...
1
by: NehaDas | last post by:
Hello Everyone ! Iam relatively new to .NET C# and m still in the process of exploring various options. Any help with regard to this query will be highly appreciated ... Iam working on an...
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
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...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.