开发者

Ensure the Last Character in a RichEdit control is Visible

开发者 https://www.devze.com 2022-12-19 02:01 出处:网络
Text is disappear开发者_如何学编程ing from the bottom of a RichEdit control window and I\'d like to ensure the bottom character is always visible. Obviously, I could manually scroll to the bottom, but

Text is disappear开发者_如何学编程ing from the bottom of a RichEdit control window and I'd like to ensure the bottom character is always visible. Obviously, I could manually scroll to the bottom, but I'd like to do it under software control.


Send the EM_SCROLLCARET message. Position the caret first, GetWindowTextLength() and EM_SETSEL.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号