怎么用GetDlgItemText函数,把编辑框里面的字符串,读取到char型数组里
www.MyException.Cn 发布于:2012-04-20 15:27:03 浏览:154次
如何用GetDlgItemText函数,把编辑框里面的字符串,读取到char型数组里!
如题,谢谢!
------解决方案--------------------
CWindow::GetDlgItemText
UINT GetDlgItemText( int nID, LPTSTR lpStr, int nMaxCount ) const;
BOOL GetDlgItemText( int nID, BSTR& bstrText ) const;
---------------------------------------------------
char buf[1024] = {0};
GetDlgItemText(IDC_EDIT1, buf, 1024);
------解决方案--------------------
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。