Jump to content

MLM_QUERYTEXTLIMIT

From EDM2

This message queries the maximum number of bytes that a multi-line entry field control can contain.

Syntax

param1
ULONG ulReserved; /* Reserved value, should be 0. */

param2
ULONG ulReserved; /* Reserved value, should be 0. */

Parameters

ulReserved (ULONG) - input
Reserved value, should be 0.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

lSize (LONG) - return
Maximum number of bytes allowed in the MLE.

Remarks

The multi-line entry field control window procedure responds to this message by returning the current limit set, either by default, or by MLM_SETTEXTLIMIT. If the limit is unbounded, a non-positive value is returned.

Default Processing

The default window procedure takes no action on this message, other than to set lSize to 0.