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. Disable print screen/sysRq key on keyboard

Disable print screen/sysRq key on keyboard

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
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.
  • U Offline
    U Offline
    User 5739145
    wrote on last edited by
    #1

    hi all, I m working on in VC++ 6.0 on windows XP platform. I want to disable the print screen on the keyboard wherever my application starts and enable it whenever application exit.can anyone help me out. regards, kapil kant

    R 1 Reply Last reply
    0
    • U User 5739145

      hi all, I m working on in VC++ 6.0 on windows XP platform. I want to disable the print screen on the keyboard wherever my application starts and enable it whenever application exit.can anyone help me out. regards, kapil kant

      R Offline
      R Offline
      RicoH
      wrote on last edited by
      #2

      you should check out the SetWindowsHookEx[^] function which is supported on WinNT, 2000 and XP. This will let you set a low-level keyboard hook. There is an article[^] on MSDN which describes the use of a low-level hook. Enjoy! Don't think you are, know you are...

      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