很奇怪的问题,大家有遇到过的吗
cedit显示过多的文字后,无法输入了,只能删除
但删除掉剩下大概32k一下的数据后又可以输入了

解决方案 »

  1.   

    Edit控件能容纳的字符数是有限制的,可以用SetLimitText函数更改最大限制。
      

  2.   

    Edit controls on Windows NT/2000/XP: If this parameter is zero, the text length is set to 0x7FFFFFFE characters for single-line edit controls or –1 for multiline edit controls. Edit controls on Windows 95/98/Me: If this parameter is zero, the text length is set to 0x7FFE characters for single-line edit controls or 0xFFFF for multiline edit controls.