OWL NExt - Knowledge Base

[ Home | Contents | Search | Next | Previous | Up ]

Limit of characters for a TEditFile part II

Date: 12/1/99
Time: 10:30:05 PM

Question:

The WIN32 online help says I can send an EM_LIMITTEXT with a parameter
of zero ( -1 also works ) to set the limit of text in an Edit control to 0xFFFFFFFF
but it still seems to be limited to about 60K under Windows 95.

Answer:

This step will indeed increase the size of an Edit control under WIN NT. But core
functionality of Windows 95 still written in 16 bit, so edit control the same as in
Windows 3.1 with the same limitation: UINT_MAX = 64K no more.

Last changed: July 14, 2001