INFO: Multiline Edit Control Limits in Windows NT

ID: Q89712

The information in this article applies to:

SUMMARY

The default maximum size for a multiline edit (MLE) control in both Windows and Windows NT is 30,000 characters. The EM_LIMITTEXT message allows an application to increase this value. Setting "cchmax" to 0 is a portable method of increasing this limit to the maximum in both Windows and Windows NT. When cchmax is set to 0, the maximum size for an MLE is 4GB-1 (4 gigabytes minus 1).

Additional query words:

Keywords          : kbCtrl kbEditCtrl kbNTOS kbGrpUser kbWinOS 
Issue type        : kbinfo

Last Reviewed: December 26, 1998