Pin WPF window on the desktop in Windows 7

Posted by Dennis1001 on Stack Overflow See other posts from Stack Overflow or by Dennis1001
Published on 2010-05-08T15:25:58Z Indexed on 2010/05/08 15:28 UTC
Read the original article Hit count: 160

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about c#