home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!gatech!swrinde!zaphod.mps.ohio-state.edu!usc!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!kth.se!hemul.nada.kth.se!d88-jwa
- From: d88-jwa@hemul.nada.kth.se (Jon Wtte)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: TCL, Another Question...
- Message-ID: <1992Dec22.210145.28421@kth.se>
- Date: 22 Dec 92 21:01:45 GMT
- References: <1992Dec22.184643.29251@fsl.noaa.gov>
- Sender: usenet@kth.se (Usenet)
- Organization: Royal Institute of Technology, Stockholm, Sweden
- Lines: 26
- Nntp-Posting-Host: hemul.nada.kth.se
-
- In <1992Dec22.184643.29251@fsl.noaa.gov> urban@yoda.fsl.noaa.gov (Art Urban) writes:
-
- >However, I would like to display a "startup" window while the application
- >loads, and preps. My question is: where is the best place to implement this
- >behavior?
-
- I wouldn't use a TCL window, since they require the Desktop to be
- initialized, etc etc. Instead I would put up a "normal" window
- after calling EventAvail three times, and draw my picture in that,
- RIGHT after initting the toolbox. Then I would override Run so
- it first removed the window (or waited until N ticks had passed
- by calling EventAvail and checking the event.when field) and
- then called CApplication :: Run.
-
- Or I would patch DoAppleEvent so that an oapp AppleEvent sent a
- cmdAbout instead of opening a new window :-)
-
- Cheers,
-
- / h+
-
- --
- -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
- The word "politics" is derived from the word "poly", meaning
- "many", and the word "ticks", meaning "blood sucking parasites".
- -- Larry Hardiman
-