Saturday, 8 June 2013

How to prevent OpenTK.GameWindow from closing

How to prevent OpenTK.GameWindow from closing

I have a game I've written in OpenTK but am looking for a way to add a handler to the close button of the game window without actually closing the game (e.g. invoking a "do you want to save before you quit?" sort of dialog). I can't seem to find any event handler or documentation that accomplishes this.

No comments:

Post a Comment