Results 1 to 3 of 3

Thread: A Keyboard problemmo

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Question A Keyboard problemmo

    H! all
    I want to know how to disable the keyboard, that is, to disable EVERY SINGLE button on the keyboard

    I tried these two methods, but neither worked (I have win2000)

    1- Shell ("rundll32 keyboard, disable")
    2- and the one with the API call the simulates the screensaver running

    none of them work

    any one knows away to do this?

  2. #2
    New Member
    Join Date
    Aug 2001
    Location
    Philippines
    Posts
    11
    Try this api:

    Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) As Long

    'to disable input

    BlockInput True

    'to enable input

    BlockInput False

    I use this to control games such as conter-strike, red alert, but this one fails with virtual pool!!

    Enjoy!!

  3. #3
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    But make sure you unblock the input later. Because it blocks completly the input.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width