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