PyCRichEditCtrl.LimitText

LimitText(nChars)

Sets max length of text that user can enter

Parameters

nChars=0 : int

Specifies the length (in bytes) of the text that the user can enter. If this parameter is 0, the text length is set to UINT_MAX bytes. This is the default behavior.

MFC References

CRichEditCtrl::LimitText