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:
00967622
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform