"X" button closing the window
Blitz3D Forums/Blitz3D Programming/"X" button closing the window
| ||
I would have searched for this but the search appears to be down right now. Is there a way to detect, in Blitz3D, that the user has clicked the red "X" button in the top right corner? I'd love to catch that event and save their game if possible... |
| ||
http://www.blitzbasic.com/codearcs/codearcs.php?code=832 (The Code Archives really need a search function!!!) |
| ||
Nice one Fredborg, thanks for posting link. (yes, i agree 100%) Rhy :) |
| ||
That looks cool, fredborg, thanks! I might as well ask though ... Is there any other way? This way will probably work fine but I don't like the idea of having to add yet another DLL file to my distribution. |
| ||
I don't think there's any other way. You can use Molebox to add the DLL to the exe if you wish to do so. |