Ideally, LockWindowUpdate() should only be used for short periods.
It's an easy way to avoid horrible looking refreshes if you have a few controls to 
update but the locked control should (in my opinion) be unlocked ASAP after the 
drawing operation(s) that it was locked for have finished.
The trail of images are there because the locked control is no longer redrawing itself 
after something that has been drawn in front of it has been removed.
LockWindowUpdate doesn't lock the window so it always looks the same until unlocked.
MTCW

Chris

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 16 August 2002 2:06 p.m.
> To: Multiple recipients of list delphi
> Subject: [DUG]: LockWindowUpdate
> 
> 
> Trying to use this at the moment. However when the window is 
> locked any other 
> item dragged on screen will leave a trail of images, when 
> this occur the 
> window that is supposedly locked can bee seen updating.
> 
> Suggestions
> anyone?
> 
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List - 
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to