当全屏窗口打开或关闭时,是否可以接收通知?
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!
推荐答案
你好
为什么要全屏通知?
更多推荐
全屏通知?
发布评论