Autor Tema: Window cross clic event (close)  (Leído 1004 veces)

Grew

  • Full Member
  • ***
  • Mensajes: 123
  • Karma: 3
Window cross clic event (close)
« en: Marzo 01, 2011, 10:54:56 am »
Hi,
Do you know is there is a way to get an event when clicking the window's cross? (to close the window)
It can be usefull to show a dialogue like "are you sure you wan't to quit?"
Thanks. ;)
My game developer instagram :
https://www.instagram.com/ben_dev_game/

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12873
  • Karma: 377
Re: Window cross clic event (close)
« Respuesta #1 en: Marzo 01, 2011, 11:15:02 am »
you must include mod_wm and check var exit_status.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Grew

  • Full Member
  • ***
  • Mensajes: 123
  • Karma: 3
Re: Window cross clic event (close)
« Respuesta #2 en: Marzo 01, 2011, 12:34:31 pm »
Ok thanks. :)
My game developer instagram :
https://www.instagram.com/ben_dev_game/