@AlienScribble wrote:
Any idea how I could make something like a OnFormClosing event work for clicking the X to close in Linux?
I can't get a form probably because it's through SDL2's window but I thought something like SDL_WINDOWEVENT_CLOSE might be going on somewhere and I could catch it and ask: "Quit without saving?" and cancel the exit.I've seen ppl mention AppDomain ProcessExit but I suspect that might be at a point of no return.
I also seen there's a base.OnExitting too but I think that might be the same sort of situation.
Posts: 2
Participants: 1