Quote Originally Posted by Mith View Post
i guess the text content get truncated somewhere at the re-creation function.

Is it really necessary to re-create the whole control when switching the scrollbars?

Isnt there any SendMessage/SetWindowLong command to hide/show the scrollbars?

Example:

Style = GetWindowLong(rtbHandle, GWL_STYLE)
Style = Style And WS_VSCROLL
SetWindowLong (rtbHandle,GWL_STYLE,Style)
When you find a way of changing it without re-creation, please advise. However, I could have gone like the MS RichTextBox and throw out an error when attempting to change at runtime.