全屏通知?

编程入门 行业动态 更新时间:2024-10-25 16:30:08
本文介绍了全屏通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

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!

推荐答案

你好

为什么要全屏通知?

更多推荐

全屏通知?

本文发布于:2023-07-11 12:26:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1094059.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:全屏   通知

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!