Closing the Window

Blitz3D Forums/Blitz3D Programming/Closing the Window

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi,

Has anyone found a way to detect when a 3D window is being closed.

Currently I can give a warning through the Apptitle thing, but I would like to be able to either:

1) Disable the close button (or remove it) on the Window
2) Catch when it has been pressed and hit a function before exiting.

Any ideas. Using Fredborgs' code I can already Minimize, Maximize and freely size. Just can't think of an easy way to do this one.