home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / misc / 1393 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.4 KB  |  41 lines

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