开发者

How to make NotifyIcon to Always Show and will not be hide by Windows itself

I try using Icon.Visible = True. But it will only show icon in the taskbar for a brief period of time before Windows will hide it automatically. How to programmatically make show icon permanently?

The effect is th开发者_Python百科e same as doing it manually, by click on task bar icon button -> Customize Notifications and set behavior to = "Always Show / Always Hide / Hide when inactive" for each taskbar icon on the list.

How to set it to “Always Show” programmatically? thanks


I don't think you're going to be able to force your icon to always be visible. The kind of thing you're trying to do (hey, my program is very important, always show its icon!) is why they have the notification area set to hide icons by default. If this were possible, it would defeat the whole purpose of "hide by default" as every driver manufacturer out there would take advantage of it and we'd be no better off than the days of Windows 98 when half of users' task bar's were nothing but icons.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜