How to use keys in Active X Control, running in
IE, the keys is used by IE at first, like Arrow
keys, Pgup, PgDn, Home, End...
Printable View
How to use keys in Active X Control, running in
IE, the keys is used by IE at first, like Arrow
keys, Pgup, PgDn, Home, End...
Try using hooks
SetWindowsHookEx with keyboard hook
This is interesting .. I should like to know more about this
This works but the hook function needs to be a global one and there needs to be a exposed method to do the SetWindowsHookEx bit.
I tried this as an ATL simple object but I gusess it should work as an ActiveX
Usually with MFC ActiveX controls you overload PreTranslateMessage and add a switch for handling the keys you want, but I don't know if IE interferes or not.