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.
 
Nicholas said:
Gene,

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

Hope this helps.
That did it. Thanks...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top