Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to make a tool always on the Desktop but the windows isn't TopMost like Windows7's Desktop tools. When we press the key of "Win+D" or press the Desktop button of "Show Desktop",the tool also on the Desktop.
my project created by VC.
anybody help me!thank you !
Posted
Updated 14-Sep-10 23:06pm
v2
Comments
Eli Huang 15-Sep-10 1:59am    
Win7 gadgets

1 solution

One way would be to simply use the desktop window as your window and make desktop window the parent of your controls.

Simply create a form and put all the control on a panel. Then use the handle from GetDesktopWindow to set the parent of that panel. Maybe some adjustments to place it top-right of the screen and there you go.

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900