closedown x----minimize

Blitz3D Forums/Blitz3D Beginners Area/closedown x----minimize

grindalf(Posted 2005) [#1]
i want to turn off the closedown x so that the player cant turn off the game without saving.

also is there anyway to start a program minimized, or with no screen at all (if you dont use a graphics command it pulls up the dos screen, i think)

thanks in advance


BlackD(Posted 2005) [#2]
Perturbatio's "Disable window Close button" code:
http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=831

Enjoy.

+BlackD

PS. If any program denies me exiting without jumping through hoops, I ctrl-alt-del and uninstall it's ass. ;)


big10p(Posted 2005) [#3]
To trap the close button being pressed, you can use the Blitzclose DLL. Get it here:
www.melog.ch/dl/blitzclose.zip

[edit] Just to make it clear: I didn't write this.


BlackD(Posted 2005) [#4]
Ooh nice. I wanted that! :)

+BlackD


jfk EO-11110(Posted 2005) [#5]
Marcello wrote BlitzClose. I only host it because his site was down.


big10p(Posted 2005) [#6]
Sorry jfk, I didn't realize you were hosting the file. Hope you don't mind me posting the link.