全屏通知? [英] Full-screen notifications?

查看:168
本文介绍了全屏通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当全屏窗口打开或关闭时,是否可以接收通知?

Is there a way to receive a notification when a full-screen window is opening or closing?

我知道SHQueryUserNotificationState函数,但是我需要立即通知并且不想轮询系统.

I am aware of the SHQueryUserNotificationState function, but I need immediate notification and I don't want to poll the system.

Windows通过ABN_FULLSCREENAPP通知来通知应用程序栏,该通知正是我想要的.不幸的是,我的应用程序未创建应用栏.我考虑过要为此创建一个宽度和高度为0像素的服装. 但我不想潜在地干扰其他应用栏.一定有更好的方法!

Windows notifies appbars via the ABN_FULLSCREENAPP notification, which does exactly what I want.  Unfortunately, my application doesn't create an appbar.  I thought about creating an appar that has a width and height of 0 pixels just for this purpose; but I don't want to potentially interfere with other appbars.  There must be a better way!

推荐答案

你好

为什么要全屏通知?


这篇关于全屏通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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