Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lock Keyboard
Message
From
12/07/2001 09:02:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00529215
Message ID:
00529637
Views:
13
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform