Air:如何将 NativeWindow 放在 OSX 菜单栏上?
我正在使用 Adobe Air 2.6 开发多显示器全屏应用程序。
我可以为每个监视器创建一个窗口,并将这些窗口设置为全屏。
theWindow.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
与这些窗口交互时就会出现问题。如果我单击主显示器上的窗口(带有扩展坞和菜单栏的窗口)没有问题,但是当我单击任何其他窗口时,系统菜单栏就会变得可见。
我尝试调整主窗口的大小以匹配显示器的大小并将其移动到负坐标,但它始终位于栏后面。
在空中可以做到这一点吗? 我应该寻找其他解决方案吗?
I'm developing a multi monitor fullscreen application with Adobe Air 2.6.
I can create a window for every monitor, and put those windows to fullscreen.
theWindow.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
The problem comes when interacting with those windows. If I click the window on the main monitor (the one with the dock and menu bar) no problem, but when I click any other window the system menu bar becomes visible.
I've tried resizing the main window to match the monitor size and moving it to a negative coordinate but it always stays behind the bar.
Is it possible to do this in Air?
Should I look for another solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能够在 OSX 上使用 AIR 3.1 (Flex 4.6 SDK) 进行完整的全屏交互,使用可怕的计时器黑客:
在此线程中找到解决方案:http://forums.adobe.com/thread/108170
I was able to go full FULL_SCREEN_INTERACTIVE using AIR 3.1 (Flex 4.6 SDK) on OSX using a terrible timer hack:
Solution was found in this thread: http://forums.adobe.com/thread/108170