Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how i can disable key from keyboard of computer using C language

how i can disable key from keyboard of computer using C language

Scheduled Pinned Locked Moved C / C++ / MFC
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_14471570
    wrote on last edited by
    #1

    how i can disable key from keyboard of computer using C language

    V L J D 4 Replies Last reply
    0
    • M Member_14471570

      how i can disable key from keyboard of computer using C language

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      Define "disable".

      1 Reply Last reply
      0
      • M Member_14471570

        how i can disable key from keyboard of computer using C language

        L Offline
        L Offline
        leon de boer
        wrote on last edited by
        #3

        No requirement for programming, hammer and chisel will do the job :-)

        In vino veritas

        1 Reply Last reply
        0
        • M Member_14471570

          how i can disable key from keyboard of computer using C language

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #4

          1. Define exactly what you mean. 2. If you mean at the application level then analyze the application to find how input is handled. If at the OS level then read up on how to create input handlers (drivers.) Depending on what 'key' you want to disable then this might require different approaches. 3. Write the code 4. Test it.

          1 Reply Last reply
          0
          • M Member_14471570

            how i can disable key from keyboard of computer using C language

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            Technically, the C programming language has no such provisions. You will need to interact with the hardware using specific APIs. Now depending on how you answer Victor's question, there may be a solution to the question you meant to ask.

            "One man's wage rise is another man's price increase." - Harold Wilson

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups