FW: windows key & alt-tab crashes app

im just getting a pointer to the screen and doing all the pixel plotting
myself. is there someway to check if the program is fullscreen or not? what
do i need to do to keep my program from crashing when it looses fullscreen?

  • jeremiah> ----- Original Message -----

From: David Olofson
To: sdl at libsdl.org
Sent: 4/17/2003 5:24 AM
Subject: Re: [SDL] windows key & alt-tab crashes app

On Thursday 17 April 2003 09.21, Martell, Jeremiah wrote:


it seems that whenever my fullscreen app gets minimized or isnt
fullscreen anymore ( like when the windows key or alt-tab is
pressed ) that the app crashes with a standard parachute deployed
error. is there anyway to disable the windows key or alt-tab from
bring up the change-program box? or does anybody have any
suggestions as to why my app is crashing?

Might be a result of DirectX losing your surfaces when you leave
fullscreen mode… Are you doing s/w rendering (via ->pixels) into
h/w surfaces?

//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`-----------------------------------> http://audiality.org -’

SDL mailing list
SDL at libsdl.org