Dirkster99/AvalonDock

When a floating window is not owned by the main window, it is always activated when it is deactivated

Wenveo opened this issue · 3 comments

if (((int)wParam & 0xFFFF) == Win32Helper.WA_INACTIVE)
{
if (lParam == this.GetParentWindowHandle())
{
Win32Helper.SetActiveWindow(_hwndSrc.Handle);
handled = true;
}
}

2022-12-12_22-16-40.mp4

When the OwnedByDockingManagerWindow is false, floating window should have their own an activation/inactive state...

Even if OwnedByDockingManagerWindow is true, but we really need to under the condition of the floating window is inactive remain active? 🤔

Even if OwnedByDockingManagerWindow is true, but we really need to under the condition of the floating window is inactive remain active? 🤔

In either case, the floating window should have its own active and inactive states (I think...)