The multi-line entry field control window procedure responds to this message by limiting the text size to lSize bytes. Text size is calculated using the MLFIE_NOTRANS format. Note that this is bytes and not characters; DBCS programmers should calculate accordingly.

This message returns 0 if the text limit exceeds or is equal to the existing text. Otherwise it returns the number of bytes by which the text would have overflowed, and does not change the limit.

The default, which is unbounded, can be specified by entering a non-positive limit.


[Back] [Next]