我怎么知道Rich Edit Control已满? [英] How i come to know Rich Edit Control is full?

查看:107
本文介绍了我怎么知道Rich Edit Control已满?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在尝试以下事情:

我在对话框中放置了一个Rich Edit控件.

当文字的大小超过Rich Edit控件的大小时,文字就会移到左侧.

我需要的是,当文本大小超过富编辑控件的大小时,控件的垂直大小应增加,并将文本键入下一行.

每当文本大小增加时,丰富的编辑框控件都会发出任何消息吗?

还是有其他方法可以做到这一点?

谢谢

Hello,

I am trying for following thing:

I placed a Rich Edit Control in a dialog Box.

When ever the text size increase than size of the rich edit control, text shifted to the left side.

what i need is , when ever the text size exceeded size of rich edit control Control vertical size should increase and text typed to the next line.

Is there any message given by rich edit box control whenever text size increase??

Or Is there any other way to do this thing??

Thank you

推荐答案

您可以捕获ClientSizeChanged事件.每当大小超过该大小都会影响滚动视图,因此客户端大小也会受到影响.

希望这会有所帮助.
You can capture the ClientSizeChanged event. Whenever the size would exceed it would affect the scroll view and hence the client size gets affected.

Hope this helps.


这篇关于我怎么知道Rich Edit Control已满?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆