如何让 Windows 10 Game Bar 出现在游戏中?

How to make Windows 10 Game Bar appear on game?(如何让 Windows 10 Game Bar 出现在游戏中?)

本文介绍了如何让 Windows 10 Game Bar 出现在游戏中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 C++ 中使用 SDL 和 OpenGL 制作了一个游戏,这在游戏中当然很常见.Windows 10 应该能够检测到它是一个游戏并在启动它时显示游戏栏,但它没有.如何让 Windows 10 将其检测为游戏?

I made a game using SDL and OpenGL in C++, which is of course common for games. Windows 10 should be able to detect that it's a game and show the Game Bar when starting it, but it doesn't. What can I do to make Windows 10 detect it as a game?

推荐答案

Windows 无法检测到"您正在玩游戏.从字面上看,它没有办法神奇地解决这个问题.哎呀,我可以想到许多类型的程序,人类 很难将其归类为游戏(例如 Stack Overflow,它根本不使用 OpenGL 或 SDL!).

Windows cannot "detect" that you are playing a game. There is literally no way for it to magically work that out. Heck, I can think of a number of kinds of programs that a human would have difficulty categorising as a game or not (such as Stack Overflow, which doesn't use OpenGL or SDL whatsoever!).

用 Win+G 加载游戏栏,并勾选是的,这是一个游戏",以便 Windows 下次记住.

Load up the game bar with Win+G, and check "Yes, this is a game" so that Windows remembers for next time.

  • http://www.tenforums.com/tutorials/8686-game-dvr-remember-game-undo-windows-10-a.html

这篇关于如何让 Windows 10 Game Bar 出现在游戏中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:如何让 Windows 10 Game Bar 出现在游戏中?

基础教程推荐