My WPF application has more than one window, I want to attach some of these windows to a window of another process. My problem is that once I attach my window it becomes inv
private void TryToAttach(IntPtr ownerHandle) { if(ownerHandle == IntPtr.Zero) { return; } try { var helper = new WindowInteropHelper(window) { Owner = ownerHandle }; } catch(Exception e) { Logger.Error(e, "Could not attach window."); } }