Jump to content

Working with rich edit


Sokko
 Share

Recommended Posts

Recently I have been looking at this rich edit plugin and I have some questions about whether you can do some things with them.

A) The appending function can either replace the entire contents of the control or append to the current cursor position. Is there any way to append to the end of the control's contents, regardless of where the cursor is? I tried _RTFAppendString(GUICtrlRTFGet($RTFcontrol),$RTFstring,0x000000,10,0,"MS Sans Serif") but it didn't work for some reason, and I expect it would slow down a lot for rich edits with loads of data.

B) Is there a way to scroll the rich edit view straight to the end of its contents? (like scrolling all the way to the bottom of a document) Or better, a way to make it automatically scroll down whenever new text is added.

C) How about a way to detect whether the rich edit is already scrolled to the end or not? (i.e. if you used the function from B, then used this one, it would return True)

Edited by Sokko
Link to comment
Share on other sites

Last time I checked, RichEdits were a part of GUI development. At the moment I can't think of a more appropriate forum for this post to be in, but if you can, I will be happy to repost there (unless you meant that this should be posted in the related plugin topic, which I suppose could also be done).

Edited by Sokko
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...