如何在CRichEditView/CRichEditCtrl中转到特定的行号. [英] How to GoTo specific line number in CRichEditView / CRichEditCtrl.

查看:210
本文介绍了如何在CRichEditView/CRichEditCtrl中转到特定的行号.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在运行时在CRichEditCtrl/CRichEditView中选择行号.



在此先感谢
Ajay

I would like to know how to select line number at run-time in CRichEditCtrl/CRichEditView.



Thanks in advance
Ajay

推荐答案

我不确定是否可以转到特定的行号.选择基于字符编号的标准(例如,从第34个字符到第45个字符中选择控件中的内容).

查看 CRichEditCtrl :: SetSel() [
I''m not sure if you could go to specific line number. The selection is based on the criteria of character numbers (for example, select the contents in the control from 34th character to 45th character).

Look at the CRichEditCtrl::SetSel()[^] function.


这篇关于如何在CRichEditView/CRichEditCtrl中转到特定的行号.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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