- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Prevent window update

Question:

How can I temporarily prevent any given window from updating?

Answer:

Make a call to the Windows API function LockWindowUpdate with
the handle of the Window you wish to lock as a parameter. Send
a zero as a parameter to enable updating and to restore the
drawing.

  LockWindowUpdate(Memo1.Handle);
  .
  .
  LockWindowUpdate(0);



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile