为什么如果我不设置换行能完整显示内容,但我手动将要显示的内容添加\r\n将要显示的内容分为若干行后就不能完整显示所有的内容了呢?我已将edit控件设置为mulline属性了。。

解决方案 »

  1.   

    Specifies   the   maximum   number   of   TCHARs   the   user   can   enter.   For   ANSI   text,   this   is   the   number   of   bytes;   for   Unicode   text,   this   is   the   numer   of   characters.   This   number   does   not   include   the   null   terminator.   
    Rich   edit   controls:   If   this   parameter   is   zero,   the   text   length   is   set   to   64K   characters.   Edit   controls   on   Windows   NT/   2000:   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:   If   this   parameter   is   zero,   the   text   length   is   set   to   0x7FFE   characters   for   single-line   edit   controls   or   0xFFFF   for   multiline   edit   controls.   
      

  2.   

    我做过edit控件,显示数据 ,在垂直滚动条条件下,是不存在行数限制的,
      

  3.   

    确实有最大限制!你尝试想想:为什么UltraEdit-32、FlexEdit在显示PE文件的时候还不直接是文本显示,而用TextOut之类的方法?
      

  4.   

    勾上Horizontal scroll/Auto HScroll/Vertical scroll/Auto VScroll/Want return