[SDL] Application's Window [X] (close) button does nothiing ???

SlntHero at aol.com SlntHero at aol.com
Fri Apr 28 07:25:35 PDT 2006


Application's Window [X] (close) button does nothing ???
 
 
Hi,
 
I am making a Tetris game using S.D.L. 1.2.9 for the PC Windows  platform.
 
The game is run in a 640 x 480 window.
 
When I run the game and try to click on the window's [X] button to close  the 
application, nothing happens ??? (the mouse click is registered by the [X]  
button, but the application's window does not close/exit)
 
Do I need to read for this as an event and close the application manually  ?
(currently I allow user to exit program by pressing the [Esc] key on  
keyboard)
 
Thanks in advance!
 
 
My S.D.L. Tetris game programming project for PC Windows:
_http://www.silentheroproductions.com/tetribattle3_100percentforpcwindows.htm_
 
(http://www.silentheroproductions.com/tetribattle3_100percentforpcwindows.htm) 
 
 
 
Jesse  "JeZ+Lee" Palser, BS, A+, Network+, MCP
SLNTHERO at AOL.com
Silent Hero  Productions (R)
"Fun, little games for when you don't have time to save the  world.[TM]"
_www.SilentHeroProductions.com_ (http://www.silentheroproductions.com/) 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.libsdl.org/pipermail/sdl/attachments/20060428/7233fff6/attachment.html 


More information about the SDL mailing list