Click to See Complete Forum and Search --> : Special SplashScreen


ernes
May 24th, 1999, 05:29 AM
Hello! This is my problem.
My app has to read a configuration database before creating the main window. I do it on initinstance. Since it takes a long time, i'd like to show a window with a blinking text saying it's reading database. I show a modeless dialog, and change a static window text from a different thread, but nothing appears on the screeen. This is, no text appears on the static window. The dialog screen doesn't update its contents until the database operation (blocking) has finished.
How could i update the text if the app is blocked on initinstance??

Thanks.

Gary Grant
May 24th, 1999, 07:12 AM
You need to create your splash screen in a separate thread. P.J. Naughter has an excellent splash screen
class on his web page. Go to http://indigo.ie/~pjn

Hope this helps.