We have a VB6 application that makes a Cominterop call to .Net v1.1
assemblies showing forms. We pass the window handle of the MDI parent window
in order to make our .Net forms appear to be MDI child windows. This works
properly.
However, when we show a modal dialog child window of the .Net form
(to show lookup results), the application loses focus. It doesn’t appear to
lose focus, but it no longer accepts keyboard input, even though the form is
highlighted as if it is the active window.
To workaround the issue, the user must click on a different application in
the taskbar, then back on the the VB6 application.
Interestingly, this problem only occurs on machines running Windows SP2.
Any ideas or assistance in this matter would be appreciated.