Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Painting issue
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Divers
Thread ID:
00967297
Message ID:
00967616
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform