Short: I think I need to know how an ActiveX control does/should interact with (shortcut) key presses when it is on a page in Internet Explorer?
Long:
I have a very strange problem which I am looking for any help with.
I have an ASP.NET web application. Some .aspx pages include ActiveX controls, via:
<object classid="..." type="application/x-oleobject" codebase="url-in-my-app" />
Nothing special. I have the source (C++/MFC) to the (2) ActiveX controls --- written in-house, not my area, author has departed. Everything about the ActiveX control works fine (including interaction with the user), except...
At runtime, as soon as the ActiveX control is shown on page, Internet Explorer (any version) stops all shortcut-keys working, in any normal HTML control on the page! So, for example, user cannot use Ctrl+C, Ctrl+V, Ctrl+A, also the Del key, in an <input>
or <textarea>
control; Ctrl+C does not copy anything from the page (not even static text), it leaves the current clipboard content untouched. So basically I think they are simply ignored. Using right-click context menu to copy/paste does work fine. Leaving the page is the only way to restore behaviour.
Even worse(?), in Visual Studio (2010) at design-time if I go into the HTML Editor on the host .aspx page and go into "Design" or "Split" view (but not "Source"-only) all such shortcut-keys similarly cease working anywhere inside VS, in any window, making code editing difficult! I have to exit VS and re-enter to resolve. I think I recall a while ago that VS prompted me with "This page contains an ActiveX control, would you like it to show as such while viewing/editing the page" and I said "Yes" (cannot find where to undo that now?); so I guess it's the same problem as the IE-runtime.
I assume this is not normal behaviour for an ActiveX control on a page? I am seeking any help/advice as to what to look for in the (large) ActiveX control source code, please? I do not know how an ActiveX control on the page might be intercepting shortcut-keys in IE, even when some other normal HTML control has the focus/input? If that is the case (which I'm guessing), what am I looking for in source code and how can I rectify?
I am really stuck not knowing how to start on this, so anything appreciated.