制作全屏窗口(无任务栏和标题栏)以执行opengl [英] making fullscreen window(no taskbar & titlebar) for opengl execution

查看:563
本文介绍了制作全屏窗口(无任务栏和标题栏)以执行opengl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有带4个子窗口的win32api mdi形式.
子窗口之一运行opengl代码,但速度很慢.

我想在按f键时全屏显示.

什么是使窗口全屏显示(没有任务栏和标题栏)而没有延迟执行opengl的更好的解决方案.

i have win32api mdi form with 4 child window.
one of the child window runs opengl code but really slow.

i want to make fullscreen when f key is pressed.

what is better solution to make window fullscreen(no taskbar & titlebar) without delay in opengl execution.

推荐答案

您必须使用Win32 api才能获得全屏形式渲染.以下是如何执行此操作的示例:

http://stackoverflow.com/questions/2382464/win32-full-screen-and-隐藏任务栏 [ ^ ]
You have to use the Win32 api to get a full screen form rendering. The following is an example of how to do this:

http://stackoverflow.com/questions/2382464/win32-full-screen-and-hiding-taskbar[^]


这篇关于制作全屏窗口(无任务栏和标题栏)以执行opengl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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