Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
Wenveo opened this issue Dec 13, 2022 · 3 comments · Fixed by #410

Comments

@Wenveo
Copy link
Contributor

Wenveo commented Dec 13, 2022

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

2022-12-12_22-16-40.mp4
@Wenveo
Copy link
Contributor Author

Wenveo commented Dec 14, 2022

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

@Wenveo
Copy link
Contributor Author

Wenveo commented Dec 14, 2022

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

@Wenveo
Copy link
Contributor Author

Wenveo commented Dec 21, 2022

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...)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant