Windows桌面工具 [英] Windows Desktop tool

查看:133
本文介绍了Windows桌面工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何始终在桌面上制作工具,但Windows与Windows7的桌面工具不同.当我们按下"Win + D"键或按下显示桌面"的桌面"按钮时,该工具也在桌面上.
我的项目是由VC创建的.
任何人都可以帮助我!谢谢!

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 !

推荐答案

一种方法是简单地将桌面窗口用作您的窗口,并使桌面窗口成为控件的父级. >
只需创建一个表单,然后将所有控件放在面板上即可.然后使用GetDesktopWindow中的句柄设置该面板的父级.可能需要进行一些调整才能将其放置在屏幕的右上角,然后就可以了.

祝你好运!
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!


这篇关于Windows桌面工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆