Bennu Game Development

English Forums => Helpdesk => Topic started by: Grew on March 01, 2011, 10:54:56 AM

Title: Window cross clic event (close)
Post by: Grew on March 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. ;)
Title: Re: Window cross clic event (close)
Post by: SplinterGU on March 01, 2011, 11:15:02 AM
you must include mod_wm and check var exit_status.
Title: Re: Window cross clic event (close)
Post by: Grew on March 01, 2011, 12:34:31 PM
Ok thanks. :)