LockWindowUpdate(Form1.Handle);
UnLockWindowUpdate(0);
Check out Win32.hlp
Regards
Paul
[EMAIL PROTECTED]
(Wellington - New Zealand)
-----Original Message-----
From: Alistair George [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 17 August 1999 02:37 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Freeze updates
Can someone tell me how to stop a window display from being
refreshed/updated?
It is being used as a video capture window, and as I am writing the data to
a bitmap, it is being changed eg
//freeze panel updates here then..
BitBlt(BMP[framecount].hdc, 0, 0, panel1.Width, Panel1.Height, hdc, 0, 0,
SRCCOPY);
//now unfreeze updates
//where hdc is hdc:=GetDC(hwndc);//panel1.handle
All I see is refresh, invalidate and so on.
I have tried:
InvalidateRect( hwndc, NIL, FALSE ) ;
Tks,
Al+
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz