
When hosting a Windows Forms Control inside a WPF DockSite window, the ActiveWindow (and also LastActiveXXXWindow) is not updated properly for floating windows.
Sample:
To reproduce:
- Start the application and attach Snoop, to check the actual values for ActiveWindow and LastActiveXXXWindow.
- Make the document window "Forms" floating.
- Now switch between the document window "WPF" within the main window and the floating window "Forms" and watch the ActiveWindow and LastActiveXXXWindow properties.
-> In both cases the ActiveWindow and LastActiveDocumentWindow is the "WPF"-window.
Is there a way to get those properties (and the associated events) work in this case?
Thanks in advance
Stefan