Windows alt + tab 导致窗口模式

标签 windows fullscreen cocos2d-x marmalade

我使用的是 marmalade 6.2 和 cocos 2.1 beta3.x.2.1。当我部署以全屏模式构建的 Windows 时,按 alt-tab 退出并返回应用程序会导致应用程序进入窗口模式。是否需要在 app.icf/其他地方设置命令/设置以确保在 Alt+ Tab 之后保持全屏?

我在下面找到了可能相关的帖子:

Alt-tab in full screen

谢谢,

线

最佳答案

您是否检查了 WinAllowAltEnterWinFullScreen icf 设置。我想这就是您所需要的,尤其是 WinFullScreen

同时检查 WinFullScreen 的描述

If this is set, the display will be changed to a mode governed by WinWidth, WinHeight and WindowBpp. The surface will then cover the whole of the screen. If device does not support full screen mode with resolutions specified in WinWidth and WinHeight settings, application will start in windowed mode regardless of the WinFullScreen flag with specified resolution. Default is 0.

所以我猜你可能做了错误配置的 WinWidth/WinHeight 设置。

关于Windows alt + tab 导致窗口模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16142454/

相关文章:

在 C 中按下特定键时单击鼠标

java - 使用 JNI 从 cpp 调用 java 方法时出现异常

c++ - 我应该使用 CCArray 在 cocos2d-x 中保存自定义 CCNode 吗?

ios - 是否可以在 Mac Catalyst 中使用全屏?

android - Cocos2d-js:如何在安卓设备上使用自定义的ttf字体?

windows - Golang os.Rename(<fromDir>,<toDir>) 在 Windows 中不起作用

c++ - 如何捕获来自另一个进程的退出消息?

ruby-on-rails - Windows 上的 Cucumber with Rails

java - 如何检测以全屏模式运行的非 Java 程序?

javascript - 如何在全屏模式下自动打开网页