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 ...
Visits by Source
Users who voted for this posting