Date: 02-16-2022
Return to Index
created by gbSnippets
'A RichEdit control also has a default limit of 32K characters. but the limit can be
'raised to 64K using the EM_SetLimitText message. Raising the text limit above 64K
'requires using the %EM_EXLimitText message.
SendMessage hRichEdit, %EM_SETLIMITTEXT, 1000000, 0 '1M
'Edit control messages can be used with the RichEdit control, but several of those
'have 64K limits. Here is a list of those messages and the messages (which do not
'have the 64K limit) to use with the RichEdit control.
WM_GetText EM_GetTextEX
EM_GetSel EM_SetTextEX
EM-SetLimitText EM_EXLimitText
WM_GetTextLength EM_GetTextLengthEX
EM_GetSel EM_EXGetSel
EM_SetSel EM_EXSetSel
EM_LineFromChar EM_EXLineFromChar
'gbs_00213
'Date: 03-10-2012
http://www.garybeene.com/sw/gbsnippets.htm