Link to home
Start Free TrialLog in
Avatar of davideo7
davideo7Flag for United States of America

asked on

My ActiveX control doesn't work in IE protected mode. Normal mode works however.

I make use of some Win32 keyboard state query functions. For some reason I see that key presses for standard alphanumeric keys don't register. Certain other keys, such as Enter, Shift, Control, Alt, etc do register. I'm guessing maybe this is intentional in protected mode to help prevent keyboard logging or something. The thing is, a child window inside my ActiveX control does have focus. It runs in a different thread, but that thread does call AttachThreadInput(). Anyone have any idea how to maybe fix this? I'm guessing I will get responses back recommending I handle keyboard input with the standard WM_ messages. I would rather not have to change my design much and a lot of code. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Mohamed_allabakash
Mohamed_allabakash
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of davideo7

ASKER

Didn't help solve the problem but was still helpful.