Click here to Skip to main content
Rate this: bad
good
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
CPallini328.6K
v2
Comments
Glen Hadi at 15-Sep-10 1:59am
   
Win7 gadgets

1 solution

Rate this: bad
good
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!
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 5,170
1 DamithSL 4,357
2 Maciej Los 3,750
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,851


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