Click here to Skip to main content
11,642,402 members (62,731 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VC6 VC7 C++ MFC VC9.0 dialog
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
Edited 14-Sep-10 23:06pm
Glen Hadi at 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)

Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 15 Sep 2010
Copyright © CodeProject, 1999-2015
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