home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1560 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.3 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!tandem!tandem!stu
  2. From: stu@Tandem.com (Stuart Phillips)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Giving up the CPU in a Windows App ?
  5. Message-ID: <1992Aug28.165118.16988@tandem.com>
  6. Date: 28 Aug 92 16:51:18 GMT
  7. Sender: news@tandem.com
  8. Reply-To: stu@Tandem.COM
  9. Organization: Tandem Computers, Cupertino - USA
  10. Lines: 17
  11. Nntp-Posting-Host: av8r.cpd.tandem.com
  12.  
  13. I have a Windows application that I'm writing that needs to process a bunch
  14. of data before displaying any more results.  The time needed for the 
  15. processing is sufficiently long that it would be nice to run it in the
  16. background and give the illusion of multi-tasking.
  17.  
  18. Whats the best way to release the processor and yet insure that the
  19. application gets sent another message by Windows in order to get some
  20. more processing done ?  Clearly I have to return from the Window proc
  21. in order to get Windows to run something else but what is the API call
  22. to best accomplish this ?
  23.  
  24. What I'm after is something similar to the behavior of BCW when its compiling
  25. large files; you can iconify BCW or select another Window and things work
  26. just fine - look almost like real multi-tasking.
  27.  
  28. Any help appreciated !
  29. Stu
  30.