Any way to hide/disable the 'close' gadget?

BlitzMax Forums/BlitzMax Programming/Any way to hide/disable the 'close' gadget?

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.

Because I want to avoid closing the game via an accidental click. My game is completely mouse controlled, so accidentally jabbing the close button is always a possibility.

Anyhoo, I've made it so that the user needs to click the close button, then click again to confirm. Far less chance of accidentally clicking it twice, I think!