From: Regis BOSSUT Newsgroups: comp.os.msdos.djgpp Subject: Re: Q: How to programmatically set a dos window to full screen ? Date: Thu, 21 Aug 1997 11:00:06 +0200 Organization: IEMN - Dépt ISEN - Acoustique Lines: 22 Message-ID: <33FC0396.526F@isen.fr> References: <33FAFCDB DOT 2B6B AT isen DOT fr> NNTP-Posting-Host: hpac1.isen.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Regis BOSSUT wrote: > > > > Is there a programmatic solution to automatically set the dos box to > full screen inside my application ? > I'm happy to answer YES to my own question : #include __dpmi_regs regs; regs.x.ax = 0x168b; regs.x.bx = 0; __dpmi_int(0x2f,®s); This is documented in Ralph Brown's interrupt list as available for Windows 3.1, but still seems to work with Win95. By the way, I don't know how to reverse the behavior... /Régis Bossut