Sorry, there may be a terminology misunderstanding here. When you said "position the cursor", I assumed you meant moce the insertion point for the edit control. Ie. Change the position where text would be inserted, if the user starts typing, assuming the control has focus.
If that is what you want, you will probably have to call update() afterwards in order for the effects to be reflected on the screen.
However, there are other possible interpretation of "position the cursor".
You might mean: move the mouse cursor over the richedit control window.
Or you might mean: Give the richedit control the focus, so that the text cursor (otherwise known as the insertion point), appears with the richedit control.
So, 1) you are going to have to clarify your problem (and terminology).
2) it would be much easier for people to assist you if you would post a minimal, working example of your code. It is always a good idea to have a small test app that omits the bulk of your program logic when learning a new library or control.
In reply to Re^3: Cursor at end of Richedit control
by BrowserUk
in thread Cursor at end of Richedit control
by briannz556
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |