Prev Next

EM_EXLIMITTEXT Overview  Group

The EM_EXLIMITTEXT message sets an upper limit to the amount of text the user can type or paste into a rich edit control.

EM_EXLIMITTEXT 

wParam = 0; 

lParam = (LPARAM) (DWORD) cchTextMax; 

 

Parameters

cchTextMax
Maximum amount of text or zero for the default maximum. An OLE object counts as a single character. The default maximum is 32K.

Return Values

No return value.

Remarks

The text limit set by the EM_EXLIMITTEXT message does not limit the amount of text that you can stream into a rich edit control using the EM_STREAMIN message.

See Also

EM_STREAMIN