home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14066 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!aukuni.ac.nz!sbsu1.aukuni.ac.nz!hammett
  2. Newsgroups: comp.sys.mac.programmer
  3. Subject: FlushEvents necessary? (was: Re: Toolbox init)
  4. Message-ID: <hammett.714004576@sbsu1.aukuni.ac.nz>
  5. From: hammett@sbsu1.aukuni.ac.nz (Tim Hammett)
  6. Date: Sun, 16 Aug 1992 22:36:16 GMT
  7. Sender: news@ccu1.aukuni.ac.nz (News Owner)
  8. References: <1992Aug11.152914.18785@uni-paderborn.de> <13992@gazette.bcm.tmc.edu> 
  9.  <1992Aug13.031241.9631@gallant.apple.com> <1992Aug13.181036.10085@waikato.ac.nz>
  10. Organization: University of Auckland, New Zealand.
  11. Nntp-Posting-Host: sbsu1.aukuni.ac.nz
  12. Lines: 13
  13.  
  14. ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  15. >>     InitWindows();
  16. >>     FlushEvents(0xffff,0);
  17.  
  18. >Personally I prefer to do a FlushEvents *after* all my program setup.
  19.  
  20. Is it necessary to do FlushEvents() at all these days? I notice that most
  21. of the DTS sample Apps don't. I would be interested in hearing the pros
  22. and cons of using FlushEvents at program startup.
  23.  
  24. --
  25. Tim Hammett, Botany Dept, Auckland University, New Zealand.
  26. t.hammett@aukuni.ac.nz   Phone: +64-9-373-7599 x8365    FAX: +64-9-373-7416
  27.