Force Windows to show a system tray icon

后端 未结 5 1040
借酒劲吻你
借酒劲吻你 2020-12-19 06:36

This is a pretty stupid question, but here goes:

Is there a way (in .net) to force Windows to show your system tray icon instead of hiding it? I don\'t want to do t

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-19 06:57

    There is no way to force it to be visible (as noted above, and rightly so), however if you show a balloon notification (like Windows Live Messenger does when you first try to close the window), your icon will appear while the balloon is visible. You could also use this to draw attention to your app to say "look at me, I'm down here!".

    Please, for the sake of your users, make it only do this once, at most, though!

提交回复
热议问题