trichview.com

trichview.support




Re: flicker when update text then rescrolling


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/29/2003 14:21:42


Actually, it must not be repainted during Clear, Add*** methods (it's not

even ready for repainting untill calling Format);

But yes, LockWindowUpdate may be useful to suppress repainting when calling

Format or editor's method (like Insert*** methods)


> You could try calling LockWindowUpdate(RichView.Handle) before modifying

the

> text and LockWindowUpdate(0) after you're done.

>

> This way the window won't try to repait itself during individual calls

> (Clear, AddFromNewLine, etc.).






Powered by ABC Amber Outlook Express Converter