Why program exited after setting window's visible=false ?
Why program exited after setting window's visible=false ?
how to prevent program exit after setting property of window visible=false?
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
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