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