How do I inform other applications that my application is a part of the Windows desktop?

浪子不回头ぞ 提交于 2019-12-12 08:36:34

问题


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.

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.


回答1:


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.

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




回答2:


Use the toolstrip control in the Windows Form designer.



来源:https://stackoverflow.com/questions/2365681/how-do-i-inform-other-applications-that-my-application-is-a-part-of-the-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!