Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6822

OnFormClosing / OnExitting / "Quit without saving?"

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 6822

Latest Images

Trending Articles



Latest Images