|
-
Jan 15th, 2021, 12:35 PM
#11
Re: RichTextBox cutting the text after word wrap
 Originally Posted by Mith
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|