0
点赞
收藏
分享

微信扫一扫

MFC中将CEdit设置光标当前位置在编辑框最后

大漠雪关山月 2022-06-14 阅读 145
CString strInfo;
m_Edit.GetWindowText(strInfo);
int nLength = strInfo.GetLength();
m_Edit.SetSel(nLength,nLength, FALSE);
m_Edit.SetFocus();


举报

相关推荐

0 条评论