Click here to Skip to main content
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 20:30pm
Edited 15-Sep-10 0:06am
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)

  Print Answers RSS
0 Peter Leow 313
1 Kornfeld Eliyahu Peter 230
2 OriginalGriff 183
3 Maciej Los 160
4 Sergey Alexandrovich Kryukov 157
0 Peter Leow 443
1 OriginalGriff 403
2 Kornfeld Eliyahu Peter 260
3 Sergey Alexandrovich Kryukov 242
4 Maciej Los 230

Advertise | Privacy | Mobile
Web04 | 2.8.150301.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