简体   繁体   English

windows7以编程方式设置“显示图标和通知”

[英]windows7 set the “show icon and notification” programmatically

I want my application (written in c#) which needs to run on Windows 7 and show an icon in the notification area. 我想要我的应用程序(用c#编写),它需要在Windows 7上运行并在通知区域中显示一个图标。 The default is "only show notification" I my icon to be shown by default. 默认为“仅显示通知”我默认显示我的图标。 looking for the api in c# or to wite a script for this. 在c#中寻找api或者为此写一个脚本。 If there's no direct way to do this is there any overriding way? 如果没有直接的方法可以做到这一点有什么压倒性的方法吗?

I believe it is by design the Windows 7 doesnt let you do this programmatically. 我相信它是按照设计Windows 7不允许您以编程方式执行此操作。

Could you not do something on the main TaskBar using the Windows API Code Pack ? 您是否可以使用Windows API代码包在主TaskBar上执行某些操作?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM