View Full Version : switching btw fullscreen and windowed mode
04-07-2003, 05:28 PM
alright, is there a way to switch a window from windowed mode to fullscreen without having to destroy the window and then recreating it with a larger size? i mean i just find it awkward..isn't it kinda slow too? is this what all of you do? NeHe does this everywhere,..i was just wondering if there as a more 'professional way' of doing it http://www.opengl.org/discussion_boards/ubb/smile.gif
04-07-2003, 05:58 PM
Assuming you are using Windows - SetWindowPos, MoveWindow, ChangeDisplaySettings. ChangeDisplaySettings allows you to change screen resolution, color bits, refresh rate as well as set the calling app to full screen and other aspects of display environment from within your app which can result in flicker and popping sound of monitor when this is done. The settings can be made temporary for the current app or set for the desktop depending on parameters.
[This message has been edited by shinpaughp (edited 04-07-2003).]
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.