INFO: Multiline Edit Control Limits in Windows NT (89712)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

This article was previously published under Q89712

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).

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbCtrl kbEditCtrl kbinfo KB89712