超时后,操作中心不会显示 Toast 通知 [英] Toast Notifications does not appear in Action Center after time out

查看:33
本文介绍了超时后,操作中心不会显示 Toast 通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 10 中的 Toast 通知行为异常.即使用户还没有采取任何行动,它也不会停留在行动中心.此行为适用于自定义通知和通用通知.Toast 通知是使用 Windows 桌面应用程序生成的,而不是使用通用窗口.

Toast notification in Windows 10 is behaving strange. It does not stay in the action center even if user has not taken any actions yet. This behavior is with custom notification and generic both. Toast notification is generated using a Windows desktop application not using a universal window.

推荐答案

如回答这里:

Win32 应用程序需要设置 COM 服务器才能在操作中心保留 Toast:http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/10/15/quickstart-handling-toast-activations-from-win32-apps-in-windows-10.aspx

Win32 apps need to set up a COM server in order to have toasts persisted in Action Center: http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/10/15/quickstart-handling-toast-activations-from-win32-apps-in-windows-10.aspx

您可以继续https://github.com/WindowsNotifications/desktop-toasts查看 C++ 和 C# 中的一些工作示例.

You can go on https://github.com/WindowsNotifications/desktop-toasts to view some working samples in C++ and C#.

这篇关于超时后,操作中心不会显示 Toast 通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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