INFO: Multiline Edit Control Limits in Windows NT

ID: Q89712


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows 2000


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 kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: January 26, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.