问题描述
限时送ChatGPT账号..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/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/b/tiles_and_toasts/archive/2015/10/15/quickstart-handling-toast-activations-from-win32-apps-in-windows-10.aspx
您可以继续https://github/WindowsNotifications/desktop-toasts查看 C++ 和 C# 中的一些工作示例.
You can go on https://github/WindowsNotifications/desktop-toasts to view some working samples in C++ and C#.
这篇关于超时后,操作中心不会显示 Toast 通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论