How to stick a form on the Desktop?

  • Thread starter Thread starter Tyron Madlener
  • Start date Start date
T

Tyron Madlener

I want to have a form that sticks on the Desktop even when the user hits
"Show Desktop". I tried to find a way for about three days now and I
couldn't find any help. So please, does anyone know how to do this?

Thanks a million in advance
 
Haven't tried that before but maybe you can see what messages your
window gets when 'Show Desktop' is clicked, if you do indeed get a
message then you can then bring your window to the foreground then.
It's worth looking into.

David Barkol
www.neudesic.com
 
David said:
Haven't tried that before but maybe you can see what messages your
window gets when 'Show Desktop' is clicked, if you do indeed get a
message then you can then bring your window to the foreground then.
It's worth looking into.

David Barkol
www.neudesic.com

I already tested that and saw that I get the Message NC_ACTIVATEAPP with
the Information that my app is now deactivated and a thread of the
explorer.exe is activated.
But I don't know how to determine if that Thread really is the Desktop
Thread.
 
You have two options.
1. Avalon tiles.
2. Look up AppBars and docking in the msdn Win32 doco and do an unbelievable
amount of low level coding with window messages and API calls.
 
Back
Top