I want to pin a WPF window on the desktop (it should be a desktop gadget).
I know you can do this by setting the parent handle of the WPF window to the handle of the "progman" window.
But this does not prevent the hiding of the WPF window when "Windows + D" is pressed.
There must be another way do to this. The new desktop gadgets in Windows 7 are not hidden when "Windows + D" is pressed. How did the MS developers achieve this?