Vote UpVote

The Unfortunate Effect of WM_SETREDRAW

Francois on Programming – … or why simply replacing LockWindowUpdate by WM_SETREDRAW is not that straightforward. As you know, when you want to avoid flickering or multiple partial redraws of your Forms, during a flurry of updates for instance, even though it is very tempting, you must not use LockWindowUpdate. The Windows documentation has been updated from the days when it practically enticed people into using this API call for this wrong purpose and Raymond Chen has explained in detail why: What does LockWindowUpdate do? With what operations is LockWindowUpdate meant to be used? With what operations is ...
Favorite? Off-Topic? Fran├žois Gaillard @ 2011-02-28 03:59


Visits: 912
Votes: 5
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Chris Rolliston
Rob McDonell
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)