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.