Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
Desktop Alert stealing focus from the form
posted

My main app UI is written in VB6.  Part of the UI and logic is written in .NET visible using COM interop from VB6.  I've created a .NET DLL and from that DLL, I show the Desktop Alert control.  Everything works fine except that the Desktop Alert steals the focus from the VB6 form.

I know that this may not be a supported scenario but is there a way to prevent this behaviour?

Thanks