An application sends the EM_GETLIMITTEXT message to retrieve the current text limit, in characters, for an edit control.
EM_GETLIMITTEXT
wParam = 0; // not used, must be zero
lParam = 0; // not used, must be zero
This message has no parameters.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winuser.h.
Edit Controls Overview, Edit Control Messages, EM_SETLIMITTEXT