Question:
How can I temporarily prevent any given window from updating?
Answer:
Make a call to the Windows API function LockWindowUpdate with
the handle of the Window you wish to lock as a parameter. Send
a zero as a parameter to enable updating and to restore the
drawing.
LockWindowUpdate(Memo1.Handle);
.
.
LockWindowUpdate(0);