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.
davideo7Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mohamed_allabakashSr. ManagerCommented:
hope the following link will help you to understand the protected mode.

http://msdn.microsoft.com/en-us/library/bb250462%28VS.85%29.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
davideo7Author Commented:
Didn't help solve the problem but was still helpful.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.