I have fixed the problem by deleting the first line by calling
,when the line count crosses 1000. So only last 1000 lines appear in the ptMultiText buffer.
Now a new problem.
When I call PtMultiTextModifyText to delete the first line the scroll bar also move up.and then again a log
is coming at the end the scroll bar moves down ,so the filckering of scroll bar happening.
Is there any way to avoid this?
I think of disabling the scroll bar when deleting the first line to avoid the flickering effect.But I dont know how to disable the scroll bar.
How to disable and enable the scroll bar programatically?
Thanks in advance