switching btw fullscreen and windowed mode

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

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).]