closedown x----minimize

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

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

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. ;)

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.

Ooh nice. I wanted that! :)

+BlackD

Marcello wrote BlitzClose. I only host it because his site was down.

Sorry jfk, I didn't realize you were hosting the file. Hope you don't mind me posting the link.