home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!aa596
- From: aa596@cleveland.Freenet.Edu (Peter Haller)
- Subject: Re: BC++, Interrupt/msg at const time interval
- Message-ID: <1992Aug19.005643.101@usenet.ins.cwru.edu>
- Sender: news@usenet.ins.cwru.edu
- Nntp-Posting-Host: slc12.ins.cwru.edu
- Reply-To: aa596@cleveland.Freenet.Edu (Peter Haller)
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- References: <130@elli.une.edu.au>
- Date: Wed, 19 Aug 92 00:56:43 GMT
- Lines: 28
-
-
- In a previous article, pshepher@elli.une.edu.au (Philip Shepherd) says:
-
- >
- >What is the best method for setting up an interrupt (or prehaps message)
- >to be activated at a quaranteed time interval using Bc++3.0, Win 3.1
- >
- >c.f. SetTimer(), WM_TIMER not appropriate as these only quarantee the
- >specified time interval has elapsed.
- >
- >Thanks,
- >
- >Phil
- >
- >P.S. I believe there's been some traffic on this question in the recent
- >past but my connection to AARNET has been down...
- >--
- Use the Multimedia timer. timeSetEvent() will give you an interrupt
- and call a user defined callback from which you can then post a message
- to a window for processing.
-
- PCH
- --
- Peter C. Haller | 'If you do what you
- Lorain Products | have always done,
- aa596@cleveland.Freenet.Edu | expect what you have
- "Are we having fun yet?" | always received.'
-