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#
  4. Global Keyboard hook

Global Keyboard hook

Scheduled Pinned Locked Moved C#
tutorialquestion
2 Posts 2 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.
  • X Offline
    X Offline
    Xelalem
    wrote on last edited by
    #1

    Hi. I want to change the function of each keyboard key.I want my application to listen to key press events globally and change key value. for example when i press 'A' while writing in notepad, my Application should see the key press event before Notepad and send Letter B to the active application. I've managed to listen the key press event globally, what i want is to block other applications from getting key press events?

    L 1 Reply Last reply
    0
    • X Xelalem

      Hi. I want to change the function of each keyboard key.I want my application to listen to key press events globally and change key value. for example when i press 'A' while writing in notepad, my Application should see the key press event before Notepad and send Letter B to the active application. I've managed to listen the key press event globally, what i want is to block other applications from getting key press events?

      L Offline
      L Offline
      lukeer
      wrote on last edited by
      #2

      Which one of the suggestions in response to your earlier question[^] did you try? At what point did you get stuck? What code caused which error message?

      Ciao, luker

      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