如何实现全屏模式? [英] How to implement full-screen mode?

查看:29
本文介绍了如何实现全屏模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何实现在 Windows 操作系统下运行的应用程序的全屏模式,如在 Web 浏览器中一样?是否比最大化窗口和隐藏窗口装饰更复杂?

How full-screen mode, like in web browsers, for application running under Windows OS is implemented? Is it more complex then maximizing a window and hiding window decoration?

推荐答案

Form Style = NONE,最大化.

Form Style = NONE, maximized.

如果您指定语言,您可能会得到一些示例代码.

If you specify the language you could probably get some sample code.

编辑:回应格雷格发布的内容,这肯定会在 .Net 中工作,但不确定其他语言.

EDIT: in response to what Greg posted, this will work in .Net for sure, not sure about other languages.

这篇关于如何实现全屏模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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