home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / misc / 3340 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  955 b 

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!edcastle!aisb!steve
  2. From: steve@cstr.ed.ac.uk (Steve Hiller)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Using the Windows 3.1 Timer
  5. Message-ID: <1992Nov10.095014.6998@aisb.ed.ac.uk>
  6. Date: 10 Nov 92 09:50:14 GMT
  7. Sender: news@aisb.ed.ac.uk (Network News Administrator)
  8. Organization: Centre for Speech Technology Research, Edinburgh University
  9. Lines: 9
  10.  
  11. I have a Windows 3.1 program which conducts a test with the user.
  12. After the user answers a question, the system prints out CORRECT or
  13. INCORRECT and then pauses for a couple of secs before going onto the
  14. next question. I want my program to accept no input during the pause.
  15. The only way I have found to do this thus far is to use the function
  16. difftime() in a loop waiting for the correct time difference. Is there
  17. a so-called proper way of doing this in Windows?
  18.  
  19. Thanks.
  20.