CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    2

    Special SplashScreen

    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.


  2. #2
    Join Date
    Apr 1999
    Location
    Michigan, USA
    Posts
    115

    Re: Special SplashScreen

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured