| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
共有 573 人关注过本帖
标题:edit control 获取字符串问题
取消只看楼主 加入收藏
guowei3758
Rank: 2
来 自:陕西咸阳
等 级:论坛游民
帖 子:58
专家分:72
注 册:2010-4-9
结帖率:55.56%
收藏
已结贴  问题点数:20 回复次数:0 
edit control 获取字符串问题
平台是vs2005,MFC
我在IDC_EDIT1中输入了tcp
CString CheckFilterString;
GetDlgItem(IDC_EDIT1)->GetWindowTextW(CheckFilterString);
char *sss=(LPSTR)(LPCTSTR)CheckFilterString;
MessageBox((CString)sss);
为什么只输出了一个字母't'?
2012-03-17 12:54
快速回复:edit control 获取字符串问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018375 second(s), 8 queries.
Copyright©2004-2025, BC-CN.NET, All Rights Reserved