在主题演讲上方显示可可窗口 [英] Display Cocoa window above Keynote presentation

查看:104
本文介绍了在主题演讲上方显示可可窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

某些情况下:我正在构建在Keynote或PowerPoint演示文稿中在屏幕上使用的工具。

Some context: I am building a tool to be used on screen during a Keynote or PowerPoint presentation.

到目前为止,我遇到的最大问题是Keynote每次查看演示文稿时,似乎都会接管桌面。我尝试使用以下方法将可可窗口的级别设置为最大:

The biggest issue I've had so far is that Keynote seems to take over the desktop whenever you view a presentation. I have tried setting my Cocoa window's level to the maximum using:


[[self window] setLevel:kCGMaximumWindowLevel];

这似乎有一些效果(我可以将窗口悬停在屏幕外窗口中活动的Keynote的控制面板上) ,但并不能让我将鼠标悬停在实际演示上。

That seems to have some effect (I can have the window hover over Keynote's "control panel" that's active in the off-screen window), but it doesn't let me hover over the actual presentation.

有什么想法吗?预先感谢您的帮助!

Any ideas? Thanks in advance for the help!

推荐答案

尝试将级别设置为 NSScreenSaverWindowLevel + 1

这篇关于在主题演讲上方显示可可窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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