如何得到CEditView中选中的文本?

ysb 2004-11-19 10:54:49
Thank you!
...全文
65 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
ysb 2004-11-19
  • 打赏
  • 举报
回复
pomelowu(羽战士) ,有个问题,CEditView::GetSelectedText遇到回车时,就不能取后面的字符了,遇到这种情况怎么办?
aoosang 2004-11-19
  • 打赏
  • 举报
回复
他们说的不错
lixiaosan 2004-11-19
  • 打赏
  • 举报
回复
CRichEditCtrl::GetSelText

Retrieves the text from the current selection in this CRichEditCtrl object.

long GetSelText(
LPSTR lpBuf
) const;
CString GetSelText( ) const;
pomelowu 2004-11-19
  • 打赏
  • 举报
回复
CEditView::GetSelectedText

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧