Move cursor to the bottom of rich edit control
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
Can someone tell me how to move the cursor to the bottom of a rich edit control please?
-
Can someone tell me how to move the cursor to the bottom of a rich edit control please?
This should work: int iLength = RichEditCtrl.GetTextLength(); CHARRANGE nRange = { iLength, iLength }; RichEditCtrl.SetSel( nRange ); This sets the selection to the end of the string. If you want it to scroll to that area, I'm not sure of the API. Wrongway
-
Can someone tell me how to move the cursor to the bottom of a rich edit control please?
Thanks. It works!