Code archives/User Input/Blitz Close

This code has been declared by its author to be Public Domain code.

Download source code

Blitz Close by Marcelo2003
- Download the file here: http://raintree.hpg.com.br/blitzclose.dat
- Rename it to .zip (my host doesn't allow .zip files)
- Decompress and check readme.txt inside.

.
; Example code (need the DLL above)
AppTitle "test123"

; First parameter is the scancode to fake, the second is the window name
InstallCloseHandler(57, "test123")

While (Not KeyHit(1))
	; This if will be TRUE when the user tries to close the window, usually don't use a common key
	If KeyHit(57)  
		DebugLog("yeah")
	EndIf
Wend

UnInstallCloseHandler()

Comments

Difference2004
Cool. It works well. Thanks!


jfk EO-111102005
Seems like his websace was removed.

Alternatively get it from here: http://www.melog.ch/dl/blitzclose.zip


markcw2005
Or here:
http://blitznews.wordpress.com/blitzmirror/


markcw2005
.


Grey Alien2005
I use the original, works great thanks.


Picklesworth2005
Does anybody have the source code for, or source code that does the same thing as, BlitzClose.dll?
I have emailed Marcello, but with no response.
I wish to get this working in WinBlitz3d.


markcw2005
Mr Pickle, the source code is there in the zip as c++ code (see blitzclose.cpp for the two functions).


_PJ_2016
Does anybody have this lib and decls etc. at all (and of course are authorised to distribute it) - the links seem to be dead and my browser doesn't consider

http://www.melog.ch/dl/blitzclose.zip

as a valid .zip file url...


Guy Fawkes2016
http://web.archive.org/web/20061127180351/http://www.melog.ch/dl/blitzclose.zip


Zethrax2016
You can also grab it here: http://files.pmnova.com/stuff/blitzclose.zip


Code Archives Forum