AirBus
May 14th, 1999, 04:21 AM
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...
IE, the keys is used by IE at first, like Arrow
keys, Pgup, PgDn, Home, End...
|
Click to See Complete Forum and Search --> : Use Keys in Active X Control AirBus May 14th, 1999, 04:21 AM 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... muscicapa May 14th, 1999, 08:16 AM Try using hooks SetWindowsHookEx with keyboard hook This is interesting .. I should like to know more about this muscicapa May 17th, 1999, 09:01 AM 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 Dan O'Brien May 17th, 1999, 10:40 AM 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. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |