Declaration (see elgrint.h):
extern void MAppMain();
The main function of the app. Has to be defined by the developer to create an app.
The framework calls MAppMain internally shortly after the app starts, and terminates the app shortly after MAppMain returns.
'MAppMain' has to call MWindow::runMessageLoop at least once (usually only once) to prevent it from returning prematurely.
Window objects can only be created from inside the MAppMain function (directly or indirectly).
Let us know
Please Contact us to report any errors on this page, or to suggest any improvements.