how to detect close button ?

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

if you have an idea .... :/