Hi,
id like to capture the main-window's close-event when pressed on the x - button in window-title, to show a dialog asking the user to exit or not.
Is there something or do i have to embedd irrlicht in another toolkit?
thx in advance
How to get WindowCloseEvent of the mainWindow?
Re: How to get WindowCloseEvent of the mainWindow?
Sorry, really old feature wish from Bitplane (http://sourceforge.net/p/irrlicht/feature-requests/126/), but he never got around to coding it. So currently we don't seem to have a way to do that.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: How to get WindowCloseEvent of the mainWindow?
I see xD (3 years later),
i guess i just use some gui-toolkit for that. I think i can try to manage a way without 3rd party for Windows and Linux,
but the other supported plats by irrlicht has to do somebody else.
Any hints would be appreciated too.
cya
i guess i just use some gui-toolkit for that. I think i can try to manage a way without 3rd party for Windows and Linux,
but the other supported plats by irrlicht has to do somebody else.
Any hints would be appreciated too.
cya
Re: How to get WindowCloseEvent of the mainWindow?
I think he stopped contributing around that time. But 3 years is nothing - I'm currently applying patches which I wrote 6-7 years ago (and which were the reason I joined the Irrlicht team in the first place... ) ;-)gerdb wrote:I see xD (3 years later)
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm