Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!polyslo!pdavid From: pdavid@polyslo.CalPoly.EDU (Paul C. David) Newsgroups: comp.windows.ms Subject: Re: Process priorities in win386 ? Message-ID: <11737@polyslo.CalPoly.EDU> Date: 6 Jun 89 15:16:41 GMT References: <351@shuldig.huji.ac.il> Reply-To: pdavid@polyslo.CalPoly.EDU (Paul C. David) Organization: Cal Poly State University -- San Luis Obispo Lines: 18 oferf%shum.UUCP@humus.Huji.AC.IL (ofer faigon) writes: >I have two programs - one is a Windows aplication (W), the other a DOS >application (D). I want to run them together, with W visible and >covering the whole screen and D in the background. >At certain times (T) D has to get all or most of the CPU cycles, >without popping into view. Try a method outlined in the Petzold book. Somewhere he writes an application requiring a background process. He uses PeekMessage to determine that nothing is in the message queue, and when it is empty, he dishes off cycles to the background process (D). -- Paul C. David pdavid@polyslo.CalPoly.EDU California Polytechic State University, San Luis Obispo "..And they said that the Commodore would stand up to everything" -from "Earthgirls are Easy"