Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [To Paul] Could we have a command to determine whether to close app window after pressing red "X" button in the top right corner?

Author
Message
AreCustomize
10
Years of Service
User Offline
Joined: 22nd Dec 2013
Location: Cyberspace
Posted: 18th Oct 2016 22:47
Hi!

Since we have commands like SetWindowAllowResize, SetWindowPosition, SetWindowSize etc. could we have a command to enable/disable straight closing of an application?
I would like to have a message box like "Are you sure you want to exit?" in my editor app after pressing the "X" button so I wouldn't lose my work after accidental closing of an application.
It could be something like "GetWIndowCloseButtonPressed()" and "SetWindowCloseButtonActive(0 or 1)"

Best Regards,
AreCustomize
"Anyone who has never made a mistake has never tried anything new."
-Albert Einstein

Login to post a reply

Server time is: 2024-11-25 02:08:57
Your offset time is: 2024-11-25 02:08:57