本文介绍了(Shift + Enter)的转义序列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
在CRichEditView中,按Enter键或(Shift + Enter)键时会添加换行符.
为了检测换行符(按回车键生成)
我们可以将字符与"\ n"进行比较.同样,如何检测生成的字符
按下(Shift + Enter)键的结果.我有换行符的任何转义序列
从shift + enter生成.
谢谢
Dev.
Hi all ,
In CRichEditView when enter key or(shift+enter) key is pressed a newline added.
In order to detect new line character(generated as a result of pressing enter key)
we can compare the character with "\n".Like wise, how to detect the character generated
as a result of pressing (Shift + Enter) key. i,e is there any escape sequence for newline
generated from shift+enter.
Thanks
Dev.
推荐答案
这篇关于(Shift + Enter)的转义序列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!