how to detect close button ?

Blitz3D Forums/Blitz3D Programming/how to detect close button ?

Red(Posted 2004) [#1]
if you have an idea .... :/


Genexi2(Posted 2004) [#2]
Looked this up in the Code Archives, possibly what yer lookin for? : http://www.blitzbasic.com/codearcs/codearcs.php?code=832

I remember see'ing a better one out there that used a userlib for the Windows API or something which allowed you to detect if the user attempted to click that damned X button.


Red(Posted 2004) [#3]
Yes thanx :)

I hope Blitzmax would have a event handler.


Genexi2(Posted 2004) [#4]
I just hope I could even use BlitzMax when it comes out in the future....if it does.

Speakin' of which, hate to hijack, but anyone know where these API Userlibs for Blitz3d are? I've seen source codes around that use them but no one ever provided a link to the actual DLL or whatnot...., be nice to toy around with some things I couldnt in Blitz alone.


soja(Posted 2004) [#5]
Ed from Mars: I hope Blitzmax would have a event handler.

In the meantime, have you seen BLESS (BLitz EventS System)? It's in beta right now, but it works generally, and lets Blitz3D have access to all Windows events. www.mintysoftware.com.

Genexi2: I've seen source codes around that use them but no one ever provided a link to the actual DLL or whatnot

Most of them are included with Windows, for example, user32.dll, kernel32.dll, etc.


Perturbatio(Posted 2004) [#6]
I think he means the decls files.


Perturbatio(Posted 2004) [#7]
http://www.perturbatio.com/files/api_decls.zip


Red(Posted 2004) [#8]
ohh :D