Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to stop window redrawing untill I am ready? 1

Status
Not open for further replies.

TimSNL

Programmer
Sep 11, 2001
119
0
0
AU
Hello all.

I have a lot of components I need to manipulate on a form.

Is there a way I can stop everything on the from redrawing itself untill I am ready, and then just do one flicker free redraw.

Thanks for your help :)
Tim
SNL Computing
 
you could try the lockwindowupdate system API function.

Also certain object (like Ttreeview) allow you to specify the start and end of a batch update.
 
Thankyou!

LockWindowUpdate works perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top