Hi all,
I have a "simple" problem. My application is not running in fullscreen mode so i have the minimize/maximize/close buttons of the window (The win32 window that create Irrlicht).
If the user push the close window button I need to confirm this action: Close the whole program.
But I can capture this event into the Irrlicht normal events.
Wich is the easily way of get this external event. My actual options:
1 - Use irr::SIrrlichtCreationParameters::WindowId... A lot of work for only one event??
2 - Modify the "CIrrDeviceWin32::run()" so it don´t directly close the window ( if (msg.message == WM_QUIT)
Another easily way for test if the user close the whole application.
Thanks
Advise after close the "main window"
-
- Posts: 24
- Joined: Sun Sep 23, 2007 9:45 pm
- Location: Spain
-
- Posts: 24
- Joined: Sun Sep 23, 2007 9:45 pm
- Location: Spain