我该如何告诉我的应用程序是Windows桌面的一部分,其他应用程序? [英] How do I inform other applications that my application is a part of the Windows desktop?

查看:126
本文介绍了我该如何告诉我的应用程序是Windows桌面的一部分,其他应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个工具栏在C#中的窗口,并想以适应它在Windows桌面的顶部空间。

I would like to create a "toolbar" for windows in c# and would like to fit it the in top space of the Windows desktop.

我想其他Windows程序不能覆盖我的应用程序。我也希望其他应用程序来对待我的窗口在桌面上,这样当他们最大化,你仍然可以看到我的应用程序的一部分。

I would like the other windows program not be able to overlay my application. I also want other applications to treat my window as a part of the desktop so that when they maximize, you can still see my application.

推荐答案

您可以创建所谓的应用程序的桌面工具栏。您的应用程序将主要使用在Windows Shell(,因此,其他应用程序)进行通信,以指示桌面应该如何与应用程序交互。

You can create what is called an Application Desktop Toolbar. Your application will essentially communicate with the Windows Shell (and, consequently, other applications) to instruct the desktop how it should interact with your application.

这类型的功能是不内置的.Net,但有一个可用的优秀教程做这在代码项目

This type of functionality is not built into .Net, but there's an excellent tutorial available to do this on Code Project.

这篇关于我该如何告诉我的应用程序是Windows桌面的一部分,其他应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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