I was most way done with my app, when I noticed that, in windowed mode, when I use the close button, the window closes. However, I have no idea how to catch that in my custom rendering loop!
I tried monitoring the message pump for a WM_DESTROY, but that doesn't work. Does ogre fire an event when the window closes? If so, what? In ExampleApplication the framelistener handles exiting (via capturing the mouse.) I need to ensure the "X" in the corner notifes my app that the party is over.
Closed rendering window detection
-
zarthrag
- Greenskin
- Posts: 128
- Joined: Sat Jul 24, 2004 9:07 am
- Location: Tulsa, Oklahoma
-
zarthrag
- Greenskin
- Posts: 128
- Joined: Sat Jul 24, 2004 9:07 am
- Location: Tulsa, Oklahoma