views:

124

answers:

2

How can I call lockWindowUpdate using Delphi Prism?

A: 

Something like:

[DllImport('user32.dll')]
class method LockWindowUpdate(handle: IntPtr): Boolean;

in a class

Ck
+2  A: 

Before worrying too much about how to call it, I would think very carefully first about whether you really should or even need to call it. Raymond Chen has some very useful discussion points about LockWindowUpdate() and it's pitfalls that you may wish to consider.

Deltics