sorry if this has been mentioned before, but wanted to put it out there while I had a second…
wouldn’t it make sense to make the splashscreen class a thread? i.e. subclass of Thread?
Seems a splash screen is only useful when:
a) It provides some feedback on the progress of loading / initializing the main application (process), and
b) You can get rid of it when it’s blocking access to other applications while your waiting for said main application to finish all it’s init stuff.
Neither of which can be accomplished if it’s part of the main process / thread.
perhaps this was the suggested usage anyway, and I just missed that part, but should be simple enough to drop into the splash class, and maybe provide some callback or variable to watch that the main process can update on a “percentage” basis… I forget the class name off the top of my head, but there’s some progress bar dialog that behaves this way… shouldn’t be any different really… no?