How might I go about programatically overriding hotkeys in MS Office?
I have a global hotkey (CTRL+SHIFT+1) for my app that works in other applications but seems to get lost when I try it in any MS Office application. When I shutdown my app the hotkeys work in MS Office again as they are supposed to.
You have to go with SetWindowsHookEx and set dwThreadId to 0.
So you can hook all key input from all thread (by this way, you can make a keylogger..)
please read http://msdn.microsoft.com/en-us/library/ms644990(VS.85).aspx
and
http://support.microsoft.com/kb/318804