Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lock Keyboard
Message
De
12/07/2001 09:02:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00529215
Message ID:
00529637
Vues:
15
>Hi!
>
>>I'm looking for the way to lock and unlock the keyboard from a form, but I didn't somebody knows how do it ?
>
>Try this:
>
Declare Integer BlockInput in Win32API Integer
>BlockInput(.T.)
>It will block keyboard and mouse input. To unlock call BlockInput(.F.)
>or press CTRL+ALT+DEL.
>
>Alexander

Would this block input for all applications, or only for the currently running application?

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform