CRichEditCtrl slowing down my application
-
I am permanently logging lines of text with a "\r\n" at the end to a CRichEditCtrl. That way, the CRichEdit appends a new line of text with every call of ReplaceSel("SomeText\r\n") and keeps scrolling down. Stupidly the whole thing gets very sluggish as:confused::confused: the amount of text increases. I saw applications doing this kind of "logging" for several hours without getting slower. Does anybody have an idea how to do this ??? MS
-
I am permanently logging lines of text with a "\r\n" at the end to a CRichEditCtrl. That way, the CRichEdit appends a new line of text with every call of ReplaceSel("SomeText\r\n") and keeps scrolling down. Stupidly the whole thing gets very sluggish as:confused::confused: the amount of text increases. I saw applications doing this kind of "logging" for several hours without getting slower. Does anybody have an idea how to do this ??? MS
I use a listbox and add lines to the end of the list. John