怎么在edit box中显示几行文字?显示完一行后马上换行再显示另一行。要达到这样的效果怎么样做?
解决方案 »
- 求助,MFC编程出错
- vc2008中如何创建Win32 Dynamic-Link Library工程
- VC模拟POST提交,非Ascii码的处理问题?
- 关于中英文转换
- 刚开始学习vc++,看什么书好呢。
- 关于c++和vc++学习的问题
- 如何遍历菜单?急!在线等待!
- 为什么用SetWindowsHookEx不能做一个全局的键盘钩子,帮帮忙吧.
- 在atl中添加一个控制,在里面申请了一些资源,当控件释放时释放这些资源,怎么搞?我找不到析够函数!
- 83分!!急急急急!!如何在简体2000用vc把开发繁体版的版本????
- 程序长时间运行时,出现内部错误,一处指令引用的内存不能写
- 高分求助:如何实现电子书的翻页效果?
int nIDDlgItem,
LPCTSTR lpString
);
ParametershDlg
[in] Handle to the dialog box that contains the control.
nIDDlgItem
[in] Specifies the control with a title or text to be set.
lpString
[in] Pointer to the null-terminated string that contains the text to be copied to the control.
Return ValueIf the function succeeds, the return value is nonzero.If the function fails, the return value is zero. To get extended error information, call GetLastError. 实现换行的功能,在Edit编辑框的属性中选取Style标签页,选中Want Return选项
SetDlgItemText(id, string);
SetDlgItemText(IDC_EDIT2, "222");
SetDlgItemText(IDC_EDIT2, "333");
SetDlgItemText(IDC_EDIT2, "444");我选了Want Return,可是还是只能显示444。要多行显示到底怎么弄吗?