Re: how to make a start up splash screen?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Rob Hegt (someone_at_somewhere.org)
Date: 08/31/04


Date: Tue, 31 Aug 2004 08:44:39 +0200

Are you sure this is the actual code? I see a function setAboutDialog,
but you are calling setupAboutDialog.

"Welman Jordan" <_nospam_wmjordan@163.com> wrote in message
news:%23CEhoHwjEHA.632@TK2MSFTNGP12.phx.gbl...
> Hello Rob,
> Here's my sample code:
> -----
> var g_Dialog = null;
> function ShowSplash ()
> {
>
> g_Dialog = showModelessDialog ("empty.htm", window,
> "dialogHeight:260px; dialogWidth: 390px; " +
> "help: no; status: no; unadorned: yes;");
>
> setTimeout ("setupAboutDialog (\"Please wait.\")", 200);
> setTimeout ("setupAboutDialog (\"....\")", 1200);
> }
>
> function setAboutDialog (s)
> {
> g_Dialog.document.body.innerHTML = s;
> }
> -----
> the empty.htm contains nothing
> <html><body></body></html>
>
> The dialog does not refresh until the main document
> (the caller window) has finished loading.
>
> W. Jordan
>
> "Rob Hegt" <someone@somewhere.org> wrote in message
> news:413344a1$1@ottunt1.eu.biomerieux.com...
> > Maybe it helps if you show the actual code...
> >
> > Rob
> >
> > "Welman Jordan" <_no_spam_wmjordan@163.com> wrote in message
> > news:ehEV4KpjEHA.3664@TK2MSFTNGP12.phx.gbl...
> > > Hello Evertjan.
> > >
> > > Yes, setTimeout has been used, however, it is just the same.
> > > The dialog is shown, however, the string inside can not be changed.
> > > What I am doing inside the ShowSplash is get the handle of the
> > > ModelessDialog and set its document.body.innerHTML.
> > > The innerHTML does not refresh untill the main HTA is fully loaded.
> > >
> > > --
> > > Best Regards,
> > > W. Jordan
> > >
> > >
> > > "Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
> > > news:Xns95557A7A89A0Beejj99@194.109.133.29...
> > > : Suggestion to make an asynchronous process, not tested:
> > > :
> > > : <script>
> > > : setTimeout('ShowSplash()',100); // executed nearly immediately
> > > : </script>
> > > :
> > > :
> > > : --
> > > : Evertjan.
> > > : The Netherlands.
> > > : (Please change the x'es to dots in my emailaddress,
> > > : but let us keep the discussions in the newsgroup)
> > > :
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Trouble calling registry functions
    ... "Rob C" wrote in message ... I have imported the Registry functions and can successfully ... > Could someone provide a sample or a pointer to sample code for creating a ... > RegSetValueEx functions. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Implement two interfaces having same member name
    ... Jatin wrote: ... It's called a method-resolution clause. ... Thank you, Rob. ... Could you post a sample code? ...
    (alt.comp.lang.borland-delphi)