wxEuphoria -- splash screen?
- Posted by Jerry Story <jstory at ocii.com> Nov 03, 2005
- 605 views
How do you make a splash screen with wxEuphoria? There is something called "wxSplashScreen" in wxWidgets. http://www.wxwidgets.org/ [quote] wxSplashScreen wxSplashScreen shows a window with a thin border, displaying a bitmap describing your application. Show it in application initialisation, and then either explicitly destroy it or let it time-out. [/quote] The version under construction of "Diet Monger Ass Kicker" loads USDA data for 7146 foods and 136 nutrients. It takes the data directly from the USDA (United States Department of Agriculture) files, the way it should have been done in the first place. From now on updating it for each new SR (Standard Reference) put out by USDA will be possible simply by downloading the data, and the users can do that themselves. BTW, the parsing this time is done by Kat's strtok library. Loading the data takes a wee bit of time, even with my 2.6 GHz Pentium 4. Acceptable to me, but maybe for some people it will take too long, especially if they think the computer has hung up. Solution: splash screen. The splash screen can have a nice picture, and it can say "stand by for data". My problem is I don't know how to make a splash screen with wxEuphoria. It is not enough to make a message box or somesuch thing that stops all action and has to be clicked on to make it go away so that data can begin to load. That would be no good. What I want is a picture showing while the data is loading, and then the picture goes away by itself when the data is finished loading. How do you do it?