How do you display Taskbar notifications?

感情迁移 提交于 2019-12-07 12:12:29

问题


How would one go about displaying taskbar notifications?

I want to write an app that periodically displays a flash card esque notification, the intention is to see if a 5 second or so distraction every hour can help with language learning.


回答1:


For the application you describe, I probably wouldn't use a notification icon or taskbar icon. You'll likely need a larger window displayed, with larger font.

I'd open a frameless window (possibly faded or scrolled into view) that sits in the lower-left of the desktop. (Although of course remember that not everyone has the taskbar at the bottom of the screen).

As an example, look at what Outlook or many RSS readers do to notify of new messages - this feature is commonly called a "toast" pop-up.




回答2:


In .NET you can use the Notification Icon to place a notification in the system tray.



来源:https://stackoverflow.com/questions/217871/how-do-you-display-taskbar-notifications

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