I’m generating and showing a new WinForms window on top of a Main Window. How can I achieve that the original (Main Window) keeps the focus? Setting the focus back after showing the new window does not solve my problem because I need to prevent the Main Window’s title bar from flickering. The new window has to stay on top of the Main Window so I have to set topMost=true. However, this makes no difference for the problem I think.
Thank you!
If you’re trying to achieve something similar to the ‘super’ tooltips in Office 2007 you may be better off with a third-party library that already does this. The other option will probably be to create the window as a NativeWindow and use interop calls to interact with it.