Thanks, it looks promissing, where do you call the fonction in your forms ?
>I am doing something with an Win API
>//lock the controls on a Winform
>Utilities.DllImportsHelper.LockWindowUpdate(this.Handle.ToInt32());
>///code goes here
>//unlock the controls
>Utilities.DllImportsHelper.LockWindowUpdate(0);
>
>
>//Utilities class
>using System.Runtime.InteropServices;
>
>[DllImport("user32.dll")]
>public static extern int LockWindowUpdate(int hwndLock);
>
>Hope it helps
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only