Chris

Since I'm having problems with a flickering statusbar, I tried using
LockWindowUpdate and got exactly the same results as you! When I call
LockWindowUpdate(0) the entire screen repaints, in fact the only thing that
doesn't flicker is my statusbar!

Surely this has to be a Windows bug - I'm using NT Workstation 4.0 SP5 -
what OS are you using?

==================================================================

Tom Munro Glass

+----------------------------------------------------------------+
| E-mail:                                                        |
|     Internet:           [EMAIL PROTECTED]                         |
| Web sites:                                                     |
|     TMG CONSULTANCY:    http://www.tmgcon.com                  |
|     Tewkesbury Web:     http://www.tmgcon.com/tewksweb         |
+----------------------------------------------------------------+

> 
> I am creating a component that moves a RTF control around and 
> fills it with
> data when you click the mouse. The problem I am having is 
> that it flickers
> about 4 times when I move the control and give it focus.
> 
> The LockWindowUpdate(EditControl.handle) fix's this but when I go
> LockWindowUpdate(0) the whole screen is drawn and causes a 
> flicker over the
> whole screen and not just my control..
> 
> Is there any other routines to stop control's from flickering?
> 
> Why does LockWindowUpdate cause the whole screen to flicker 
> when you call it
> with the 0 parameter which stops the control from being locked?
> 
> Chris
> 
> --------------------------------------------------------------
> -------------
>     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

Reply via email to