Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Painting issue
Message
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
00967297
Message ID:
00967616
Views:
17
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
Map
View

Click here to load this message in the networking platform