Edit Box Scrollbar Appear Only When Needed. How?

I notice that when i use the Edit Box with multiline that unless you enable the "Vertical Scroll" feature this box will not display a vertical scroll bar as your text grows larger vertically. And when i enable this feature the scrollbar does appear but ideally i dont want it to appear until it is actually needed (like how VB does it). Is there a feature to tell the Edit box to only show the Vertical Scrollbar when it is needed not before?
[444 byte] By [quantass] at [2007-11-19 10:49:01]
# 1 Re: Edit Box Scrollbar Appear Only When Needed. How?
Try to set edit box "Multiline" and then "Auto VScroll" to true if u are using VC++ editor. There is checkboxes in editbox properties.
Then it will make scrollbar automatically when needed.
BytePtr at 2007-11-11 0:10:30 >
# 2 Re: Edit Box Scrollbar Appear Only When Needed. How?
yes you can do
just check for your edit box lenght
if value in edit box is exceeded by the length of EditBox.
Make a scroll.
and set your scroll by edit box. .

how to set a scroll with a control.
check out in MSDN

there is a lot of stuff for you.

if still Problem let us know. With your code.
so we can understand how you are trying to do this.
humptydumpty at 2007-11-11 0:11:30 >
# 3 Re: Edit Box Scrollbar Appear Only When Needed. How?
Thanks for the insight..i will look into it now
quantass at 2007-11-11 0:12:31 >