开发者

Ensure the Last Character in a RichEdit control is Visible

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜