Windows 10桌面应用程序的Toast通知的意外行为 [英] Unexpected Behavior of Toast Notifications for windows 10 desktop applications

查看:170
本文介绍了Windows 10桌面应用程序的Toast通知的意外行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Toast Notifications添加到我的桌面应用程序中,并且在Windows 10中遇到了Action Center的奇怪行为

I am adding Toast Notifications to my desktop application and experiencing strange behavior of Action Center in Windows 10

观察到的行为:


  • 超时后,Toast Notifications不会出现在操作中心中

  • 当您单击时,Toast Notifications将显示在操作中心中在举杯显示期间显示在
    动作中心按钮上,但当您关闭动作中心后,它就会消失为


预期的行为:


  • 超时后应在操作中心中显示吐司通知

  • 关闭
    行动中心后,仍然应该有敬酒通知

可以请告诉我这是否是Windows 10中Toast Notifications的已定义行为,因为Microsoft Outlook Toast Notifications的行为也相同。

Can some one please tell me if this is the defined behavior of Toast Notifications in windows 10 as Microsoft Outlook Toast Notifications behave the same way too.

推荐答案

https上回答了://stackoverflow.com/a/34072291/3836163


Win32应用程序需要设置COM服务器才能已在行动中心内敬酒: https://docs.microsoft.com/zh-cn/windows/uwp/design/shell/tiles-and-notifications/send-local-toast-desktop

这篇关于Windows 10桌面应用程序的Toast通知的意外行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆