EventID and Graphics in Window Mode

Started by Lavalamp, May 10, 2020, 20:36:23

Previous topic - Next topic

Lavalamp

EventID and Graphics in Window Mode , it doesn't seem to emit an event when I click the close button?

Do I need to create a window with a canvas, then remove this and swap to a graphics mode when full screen?

thanks!

wombats

Check AppTerminate() to detect when the close button is clicked in Graphics mode.

Lavalamp

Thank you, also I did discover I hadn't put my event check in the right loop  :))