Pinvoke - LockWindowUpdate

  • Thread starter Thread starter Gene Vital
  • Start date Start date
G

Gene Vital

I am using the LockWindowUpdate API to lock my form while updating and
then Unlock when I am done. It was pretty simple to make the call to
lock the form with the form handle but how do I Unlock it?

I can't seem to get it.

Thanks.
 
Gene,

You would call LockWindowUpdate and pass IntPtr.Zero as the parameter
(equivalent to null).

Hope this helps.
 
Back
Top