GetMaxLength method


Available for Edit and RichEdit objects.

Syntax

Invoke GetMaxLength, hWnd

Function

Gets the MaxLength property for an object.

Parameters

hWnd

Handle to the object.

Return value

Eax returns the current maximum length (in characters) accepted by the object. A value of 0 means unlimited text.