Hi,
I would like to run my SDL app in full-screen mode and have it startup
automatically when Windows boots (using registry).
Everything works fine except that - most of the time - the application is
left minimized once Windows is finished booting.
It looks like the SDL app did not receive the focus.
Does anybody has a suggestion to prevent the minimizing from happening,
preferably in a platform independent manner?
Thanks,
Maarten
? Wed, 24 Oct 2007 14:34:36 +0200
Maarten Engels - Visual Productions <m.engels at visualproductions.nl>
??:
Hi,
I would like to run my SDL app in full-screen mode and have it startup
automatically when Windows boots (using registry).
I wonder why you do this…
Everything works fine except that - most of the time - the
application is left minimized once Windows is finished booting.
It looks like the SDL app did not receive the focus.
I think that Windows did something when it booted, so you app can’t in
full-screen.
Does anybody has a suggestion to prevent the minimizing from
happening, preferably in a platform independent manner?
Thanks,
Maarten
Regards!
/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/
If you want your program to be the only GUI, for exampe a GUI kiosk of
some sort, try replacing explorer with your program. Obviously if your
program is for use on a normal desktop you wouldn’t do this 
In the hurried search I did before sending this I found only 2 links.
Perhaps google will smile on you.
Of course this may not be what you are doing at all. Its just an idea though.On 24/10/2007, Maarten Engels - Visual Productions <m.engels at visualproductions.nl> wrote:
Hi,
I would like to run my SDL app in full-screen mode and have it startup
automatically when Windows boots (using registry).
Everything works fine except that - most of the time ? the application is
left minimized once Windows is finished booting.
It looks like the SDL app did not receive the focus.
Does anybody has a suggestion to prevent the minimizing from happening,
preferably in a platform independent manner?
Maarten
Hi
Just make your gScreen = SDL_SetVideoMode(ScreenWidth,
ScreenHeight, 32, SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF |
SDL_ANYFORMAT); one of the first few lines no need to muck around
with the registry.
Trish