从 Qt 更改屏幕分辨率? [英] Changing the screen resolution from Qt?

查看:60
本文介绍了从 Qt 更改屏幕分辨率?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改屏幕分辨率,然后使用一个 Activex 控件(Flash 播放器)全屏显示.显然,仅适用于 Windows 的解决方案很好:).是否有 Qt api,或者我需要深入研究 winapi?如果是这样,我在哪里看(关键字)?

I'd like to change the screen resolution and then go fullscreen with one activex control (a flash player). Obviously, a windows-only solution is fine :). Is there a Qt api for that, or do I need to dig into winapi? If so, where do I look (keywords)?

感谢您的帮助.

推荐答案

没有.没有用于此的 Qt API.您将需要使用 Windows API.请参阅 ChangeDisplaySettings

No. There isn't a Qt API for that. You'll need to use the Windows API. See ChangeDisplaySettings

这篇关于从 Qt 更改屏幕分辨率?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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