I have a WPF application that I'd like to maintain on top of the taskbar.
The issue is that whenever you interact with the taskbar, the program goes underneath and stays there.
What I've tried:
Activate()
Takes control of the keyboard and removes focus from current application, don't want thatBringToView()
Did not bring window on top of taskbarShow()
Did not bring window on top of taskbarActivate()
->ClearFocus()
would steal focus still
Some properties of the window:
WindowStyle="None"
Topmost="True"
The preferred behavior is that if the taskbar were to go on to, it would then return once the action with the taskbar is complete. It would preferably also not steal focus at any point from the keyboard or any other process.
I've looked across various questions here and MSDN but haven't had anything work yet.