CEdit::GetLine(...) 为什么不能读取一行??
wwtmw 2002-07-21 03:56:49 我想把第一行保存在CString cstring里面。
m_edit.GetWindowText(cstring);
LPSTR lp_cs = cstring.GetBuffer(cstring.GetLength()+1);
m_edit.GetLine(0,lp_cs,100 );
cstring.Format("%s",lp_csTitle);
为什么lp_cs是全部m_edit ??