disabling ALL keys?

This is a discussion on disabling ALL keys? within the C++ Programming forums, part of the General Programming Boards category; I searched for disabling keys, and i found some stuff about hooks. But I never figured out how to catch ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    100

    disabling ALL keys?

    I searched for disabling keys, and i found some stuff about hooks. But I never figured out how to catch keys. And I heard somewhere that ctrl+alt+delete can't be stopped with hooks...

    I thought there might be an easier way, to disable ALL keys.

    Is their a registry key that i can delete or change that would stop the keyboard from working?

    Or is there some system fiel that specifies what the currect keyboard is ... and change it to something else?

    thanks

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    What legitimate purpose would happen to require that?

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    shutdown makes a pretty good job of stopping all the keys working
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simulate Keys with a Keyboard Hook
    By guitarist809 in forum Windows Programming
    Replies: 3
    Last Post: 11-14-2008, 07:14 PM
  2. blocking or passing keys with global hook
    By pmouse in forum Windows Programming
    Replies: 4
    Last Post: 08-29-2007, 02:54 PM
  3. Interfacing with arrow keys...
    By adityakarnad in forum Game Programming
    Replies: 1
    Last Post: 08-30-2003, 10:25 PM
  4. disabling system keys in a windows console
    By Shadow in forum Windows Programming
    Replies: 3
    Last Post: 06-23-2002, 07:06 PM
  5. Arrow Keys and Such
    By Thantos in forum Game Programming
    Replies: 5
    Last Post: 10-25-2001, 05:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21