Disable print screen/sysRq key on keyboard
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
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
-
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
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...