[ Home | Contents | Search | Next | Previous | Up ]
Date: 12/1/99
Time: 9:30:16 PM
Question:
Why does there seem to be a limit of 30,000 characters for my
AppExpert editor application? I am targeting 32 bit so it should
be unlimited.
Answer:
The default limit is 30K. To increase this use EM_LIMITTEXT with a
value of -1 ( for the maximum ). In an OWL AppExpert application
use a post message to the TEditFile window:
ApxEditFile::SetupWindow()
{
TEditFile::SetupWindow();
PostMessage( EM_LIMITTEXT, -1, 0L );
}
...otherwise if 16 bit you could play with EM_GETHANDLE,
EM_SETHANDLE for a limited increase ( might go from ~30K
to ~48K ). If they have to stay with 16 bit they could download
BIGEDx.ZIP from compuserve ( someones shareware large editor )