From: Eric Rudd Newsgroups: comp.os.msdos.djgpp Subject: Re: way to recognize if a dos box is in full screen or not Date: Wed, 03 Jun 1998 15:02:58 -0500 Organization: CyberOptics Lines: 18 Message-ID: <3575ABF2.A76014DB@cyberoptics.com> References: Reply-To: rudd AT cyberoptics DOT com NNTP-Posting-Host: rudd.cyberoptics.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk EFT.Eric Devolder wrote: > I'm looking for a way to know if an application is running on full DOS > screen or windowed DOS, within a djgpp application. Can someone help > me? I don't know how to tell what the window type is, but if you only want to make sure the app is in full screen mode in order to do graphics, you can switch from a windowed DOS box to a full screen with an interrupt. See Ralf Brown's interrupt list: http://www.ctyme.com/RBROWN.HTM especially the function http://www.ctyme.com/intr/RB-4500.HTM -Eric Rudd ruddd AT cyberoptics DOT com