By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,285 Members | 2,232 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,285 IT Pros & Developers. It's quick & easy.

. Net RichTextBox Verticle Scroll Bars

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.