Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: LowLevel Keyboard Hooks No Longer Work


10 Nov 2010   #1

W7
 
 
LowLevel Keyboard Hooks No Longer Work

I've found several entries on this topic but nothing that gives a clear cut "per application" solution. I have a single application (form) that when opened from a Windows Service needs to disable most hot key scenarios. We are collecting safety information and they must reply to the form.

I found some awesome code that works like a champ to hook (atl+tab, etc...) in the XP world. However, as we start to migrate to Windows 7...most of those low-level hooks still work with the exception of Alt+Tab. Because of Aero the alt+tab must be being grabbed by IE first?

I can't use a registry solution as this would be global. The hook needs to only be in place while the form is active and then the hook should go away....as I do now when running on XP...which again works great....Thx.

My System SpecsSystem Spec
.

10 Nov 2010   #2

Dual-boot: Windows 7 HP 32-bit SP1 & Windows XP Pro 32-bit SP2.
 
 

Is there a setting on your keybord properities for hot keys on/off.
My System SpecsSystem Spec
10 Nov 2010   #3

W7
 
 

I'm not sure I follow...are you referring to some windows level API that I could invoke to turn them on or off? I would doubt it...the C# code I found that works fine in XP is using several interop dlls and implements a low-level keyboard hook
My System SpecsSystem Spec
.


10 Nov 2010   #4

Windows 8.1 Pro (x64)
 
 

Or could develop the application in a way that does not require such things? Just saying.
Or maybe I just don't understand why the application needs to be so fragile.
My System SpecsSystem Spec
10 Nov 2010   #5

W7
 
 

Does anyone have a way to trap the Alt+Tab key...any concrete examples would be greatly appreciated
My System SpecsSystem Spec
10 Nov 2010   #6

Windows 8.1 Pro (x64)
 
 

Change the OS...?
My System SpecsSystem Spec
10 Nov 2010   #7

W7
 
 

What does change the OS mean? I thought this was a forum where people could post questions and get answers..."Change the OS" is not something I expect from a "Gold Member", "Supporter", and "Seven Guru"...

I stumbled on to this forum and I'll stumble off...thank you for your incoherent and completely irrelevant answers.
My System SpecsSystem Spec
10 Nov 2010   #8

Windows 8.1 Pro (x64)
 
 

Well forgive me for trying to stop you from making a terrible mistake.
My System SpecsSystem Spec
Reply

 LowLevel Keyboard Hooks No Longer Work




Thread Tools



Similar help and support threads for2: LowLevel Keyboard Hooks No Longer Work
Thread Forum
Solved MS Natural Ergo Keyboard 4000 No longer working Hardware & Devices
Solved Keyboard no longer connecting/working Hardware & Devices
win7 x64 no longer recognises keyboard via in-monitor usb hub Hardware & Devices
How to find global mouse hooks in Windows 7? Hardware & Devices
Cray hooks huge $188 million supercomputer ... Chillout Room
Keyboard/Mouse wake up from Sleep no longer works General Discussion
Shortcuts no longer work General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:21 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33