Ecere SDK/eC Forums http://www.ecere.com/community/ Print view |
|
Why program exited after setting window's visible=false ? http://www.ecere.com/community/viewtopic.php?f=2&t=375 |
Page 1 of 1 |
Author: | nicktick [ Mon Sep 23, 2013 4:31 am ] |
Post subject: | Why program exited after setting window's visible=false ? |
how to prevent program exit after setting property of window visible=false? |
Author: | jerome [ Mon Sep 23, 2013 12:03 pm ] |
Post subject: | Re: Why program exited after setting window's visible=false |
Hi nicktick, The default implementation of Main() in the GuiApplication class is used if you do not define a class inheriting off GuiApplication. This implementation will keep the application running as long as a window is created and visible. To prevent the application from exiting, simply make sure another window is up before returning to GuiApplication, or override GuiApplication::Main() to use a different criteria for exiting the application. Regards, Jerome |
All times are UTC-05:00 | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |