From: Kevin Hise Newsgroups: comp.os.msdos.djgpp Subject: Re: Windows trashes my 800x600 graphics mode program. Date: Thu, 22 Apr 1999 21:02:02 -0700 Organization: Cyplex, Inc. Lines: 18 Message-ID: <371FF0BA.F25202AA@ridgecrest.ca.us> References: NNTP-Posting-Host: p-455.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en]C-DIAL (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Isn't there an interrupt listed in Ralf Brown's list that allows a DOS app to detect when Windows has switched it away? (Not that it worked when I tried it.) I mean, if I could just switch into text-mode when Windows put me in the background, and then switch back into graphics mode when I was placed into the foreground again...that would solve my problem I think. Thanks for the reply though. Eli Zaretskii wrote: > > On Wed, 21 Apr 1999, Kevin Hise wrote: > > > Is there any way to detect when Windows swaps my graphics mode > > application to the background so that I can fix the display again when > > it's made full-screen? > > It depends. See section 10.3 of the DJGPP FAQ list.