May 31, 2020, 09:34:34 PM

Author Topic: EventID and Graphics in Window Mode  (Read 111 times)

Offline Lavalamp

  • Jr. Member
  • **
  • Posts: 7
EventID and Graphics in Window Mode
« on: May 10, 2020, 08:36:23 PM »
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!

Offline wombats

  • Jr. Member
  • **
  • Posts: 43
Re: EventID and Graphics in Window Mode
« Reply #1 on: May 11, 2020, 12:09:00 AM »
Check AppTerminate() to detect when the close button is clicked in Graphics mode.

Offline Lavalamp

  • Jr. Member
  • **
  • Posts: 7
Re: EventID and Graphics in Window Mode
« Reply #2 on: May 11, 2020, 01:30:10 AM »
Thank you, also I did discover I hadn't put my event check in the right loop  :))

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal