菜鸟问题 怎么样能在.NET2005中edit 控件上显示文字
高手教一下
------解决方案--------------------------------------------------------
在界面编辑时,右键Edit控件,给控件添加一个CString类型的变量,如str1
在赋值时str1=_T( "hello ");
------解决方案--------------------------------------------------------
CString str;
str=_T( "value0 ");
UpdateData(false);
CEdit * pEdit=(CEdit *)GetDlgItem(IDC_EDIT1)-> SetWindowText( "value ");
还有其他的方法吧