home *** CD-ROM | disk | FTP | other *** search
- 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
- From: stu@Tandem.com (Stuart Phillips)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Giving up the CPU in a Windows App ?
- Message-ID: <1992Aug28.165118.16988@tandem.com>
- Date: 28 Aug 92 16:51:18 GMT
- Sender: news@tandem.com
- Reply-To: stu@Tandem.COM
- Organization: Tandem Computers, Cupertino - USA
- Lines: 17
- Nntp-Posting-Host: av8r.cpd.tandem.com
-
- I have a Windows application that I'm writing that needs to process a bunch
- of data before displaying any more results. The time needed for the
- processing is sufficiently long that it would be nice to run it in the
- background and give the illusion of multi-tasking.
-
- Whats the best way to release the processor and yet insure that the
- application gets sent another message by Windows in order to get some
- more processing done ? Clearly I have to return from the Window proc
- in order to get Windows to run something else but what is the API call
- to best accomplish this ?
-
- What I'm after is something similar to the behavior of BCW when its compiling
- large files; you can iconify BCW or select another Window and things work
- just fine - look almost like real multi-tasking.
-
- Any help appreciated !
- Stu
-