开发者

How to get notification on when richedit control has maximum text length

开发者 https://www.devze.com 2023-01-14 16:33 出处:网络
I want to increment the height of my edit control when size of string in richedit control gets maximum means to its width. I have used EN_M开发者_开发问答axText but it is not working in RichEdit contr

I want to increment the height of my edit control when size of string in richedit control gets maximum means to its width. I have used EN_M开发者_开发问答axText but it is not working in RichEdit control.


You can use OnChange event and check the length. If it is reached you can do whatever you want, like use a MessageBox notifying the user.

0

精彩评论

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