CString strInfo;
m_Edit.GetWindowText(strInfo);
int nLength = strInfo.GetLength();
m_Edit.SetSel(nLength,nLength, FALSE);
m_Edit.SetFocus();
MFC中将CEdit设置光标当前位置在编辑框最后
阅读 145
2022-06-14
CString strInfo;
m_Edit.GetWindowText(strInfo);
int nLength = strInfo.GetLength();
m_Edit.SetSel(nLength,nLength, FALSE);
m_Edit.SetFocus();
相关推荐
精彩评论(0)