SDL. How to hide fullscreen window

Posts: 9
Joined: 2010.01
Post: #1
Is this possible to hide fullscreen window?
How can I do this?
Quote this message in a reply
Posts: 149
Joined: 2009.11
Post: #2
Probably SDL_SetVideoMode with fullscreen=false.

I don't remember if it's going to work if you have already called SDL_SetVideoMode; there's probably some existing code in CrystalSpace or Irrlicht that shows how to do this already if you want to go digging. on line 449 for starters; because irr::CIrrDeviceSDL's constructor has already been run, which will call SDL_SetVideoMode, the rot in the ::run method should be the prerequisites to calling it again to change the video mode. Most of that is probably Irrlicht internals. I haven't read the whole listing, but that's a quick search and a good starting point for you.

Everyone's favourite forum lurker!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Copying from OpenGL window to other window Ingemar 7 6,660 Nov 4, 2006 03:50 AM
Last Post: OneSadCookie
  Fullscreen/Window Setup/toggle skyhawk 10 6,486 Oct 13, 2006 04:05 PM
Last Post: skyhawk
  Fullscreen/Window using same context Matrix 20 11,859 Feb 28, 2005 02:18 PM
Last Post: arekkusu
  fullscreen-window mode switch NYGhost 10 7,338 Feb 10, 2005 09:52 AM
Last Post: NYGhost
  Newbie Quetsion: Fullscreen/Window Toggle Without GLUT geezusfreeek 11 8,151 Aug 4, 2002 10:43 AM
Last Post: Tobi