>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)