|
-
May 14th, 1999, 04:21 AM
#1
Use Keys in Active X Control
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...
-
May 14th, 1999, 08:16 AM
#2
Re: Use Keys in Active X Control
Try using hooks
SetWindowsHookEx with keyboard hook
This is interesting .. I should like to know more about this
-
May 17th, 1999, 09:01 AM
#3
Re: Use Keys in Active X Control
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
-
May 17th, 1999, 10:40 AM
#4
Re: Use Keys in Active X Control
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|