Is there a way to make an WPF application persist on top of the desktop when one uses the show desktop shortcut (WINDOWS+D
) on windows?
I am trying to make an desktop overlay application with widgets. (Same concept as rainmeter)
I currently am using functions in user32.dll
to keep the window positioned on top of the desktop.
This works perfectly fine until i use WINDOWS+D
I've tried:
On the window Deactivated event, inserting the window's position above the Desktops position
Parenting the window to the desktop
Any suggestions would be greatly appreciated!