• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

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.
1 Solution
hope the following link will help you to understand the protected mode.

davideo7Author Commented:
Didn't help solve the problem but was still helpful.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now