Click here to Skip to main content
13,052,956 members (66,715 online)
Rate this:
Please Sign up or sign in to vote.
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 14-Sep-10 19:30pm
Updated 14-Sep-10 23:06pm
Glen Hadi 15-Sep-10 1:59am
Win7 gadgets

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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!

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 15 Sep 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100