Главная страница | назад





Article #16349: Prevent window update

 Question and Answer Database
FAQ1349D.txt Prevent window update
Category :Windows API
Platform :All
Product :All 32 bit
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);
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99